mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
more #ifdef THREAD added
This commit is contained in:
@ -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_ */
|
||||
|
Reference in New Issue
Block a user