diff options
author | unknown <serg@serg.mylan> | 2003-04-30 12:32:43 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-04-30 12:32:43 +0200 |
commit | 7a5b5d51b289497e3c1b3b807d9019026d65b02f (patch) | |
tree | 87523647236c8e5dd04b6e5c2b8e68acd376225b /mysys/my_semaphore.c | |
parent | b725fc0b33a29775678671b613640109a4fe8f56 (diff) | |
download | mariadb-git-7a5b5d51b289497e3c1b3b807d9019026d65b02f.tar.gz |
more #ifdef THREAD added
Diffstat (limited to 'mysys/my_semaphore.c')
-rw-r--r-- | mysys/my_semaphore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/my_semaphore.c b/mysys/my_semaphore.c index 2dd224cd99e..aa216cbc289 100644 --- a/mysys/my_semaphore.c +++ b/mysys/my_semaphore.c @@ -23,7 +23,7 @@ #include <my_semaphore.h> #include <errno.h> -#if !defined(__WIN__) && !defined(HAVE_SEMAPHORE_H) +#if !defined(__WIN__) && !defined(HAVE_SEMAPHORE_H) && defined(THREAD) int sem_init(sem_t * sem, int pshared, uint value) { @@ -101,4 +101,4 @@ int sem_getvalue(sem_t * sem, uint *sval) return 0; } -#endif /* !defined(__WIN__) && !defined(HAVE_SEMAPHORE_H) */ +#endif /* !defined(__WIN__) && !defined(HAVE_SEMAPHORE_H) && defined(THREAD) */ |