summaryrefslogtreecommitdiff
path: root/include/my_no_pthread.h
diff options
context:
space:
mode:
authorBjorn Munch <Bjorn.Munch@sun.com>2009-12-16 10:43:02 +0100
committerBjorn Munch <Bjorn.Munch@sun.com>2009-12-16 10:43:02 +0100
commitd00c7a2d5fb7c8cd94437e9b6169b29b380105bf (patch)
treed5ced91c5c9e87fc384dd41000df21a21c443858 /include/my_no_pthread.h
parent8e19b78124f6820637bb408109269ad325dbabc9 (diff)
parent78c61d6b836acc87690243f4fdc522aff40b18d2 (diff)
downloadmariadb-git-d00c7a2d5fb7c8cd94437e9b6169b29b380105bf.tar.gz
merge from trunk
Diffstat (limited to 'include/my_no_pthread.h')
-rw-r--r--include/my_no_pthread.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/my_no_pthread.h b/include/my_no_pthread.h
index b11dbff42f0..31c1bf2b6ac 100644
--- a/include/my_no_pthread.h
+++ b/include/my_no_pthread.h
@@ -1,3 +1,6 @@
+#ifndef MY_NO_PTHREAD_INCLUDED
+#define MY_NO_PTHREAD_INCLUDED
+
/* Copyright (C) 2000 MySQL AB
This program is free software; you can redistribute it and/or modify
@@ -14,9 +17,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#if !defined(_my_no_pthread_h) && !defined(THREAD)
-#define _my_no_pthread_h
-
+#ifndef THREAD
/*
This block is to access some thread-related type definitions
@@ -48,3 +49,4 @@
#define rwlock_destroy(A)
#endif
+#endif /* MY_NO_PTHREAD_INCLUDED */