summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2003-04-30 12:32:43 +0200
committerunknown <serg@serg.mylan>2003-04-30 12:32:43 +0200
commit7a5b5d51b289497e3c1b3b807d9019026d65b02f (patch)
tree87523647236c8e5dd04b6e5c2b8e68acd376225b /include
parentb725fc0b33a29775678671b613640109a4fe8f56 (diff)
downloadmariadb-git-7a5b5d51b289497e3c1b3b807d9019026d65b02f.tar.gz
more #ifdef THREAD added
Diffstat (limited to 'include')
-rw-r--r--include/my_semaphore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/my_semaphore.h b/include/my_semaphore.h
index 3431212ec82..7f182bea6bf 100644
--- a/include/my_semaphore.h
+++ b/include/my_semaphore.h
@@ -31,6 +31,8 @@
#ifndef _my_semaphore_h_
#define _my_semaphore_h_
+#ifdef THREAD
+
C_MODE_START
#ifdef HAVE_SEMAPHORE_H
#include <semaphore.h>
@@ -56,4 +58,7 @@ int sem_getvalue(sem_t * sem, unsigned int * sval);
#endif /* !__bsdi__ */
C_MODE_END
+
+#endif /* THREAD */
+
#endif /* !_my_semaphore_h_ */