diff options
author | unknown <monty@hundin.mysql.fi> | 2002-08-08 03:14:44 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2002-08-08 03:14:44 +0300 |
commit | 7c375fe24c7e25d7df8615177da8286b5debadac (patch) | |
tree | e700bcb0baacd3c2e36818839eb18c8744ddf5dd /include/my_semaphore.h | |
parent | 5f6bf462db13c3d69c63d996671ba4b2044880e4 (diff) | |
download | mariadb-git-7c375fe24c7e25d7df8615177da8286b5debadac.tar.gz |
Fix for Intel compiler (ecc)
Minor cleanups to other patches.
Make --temp-pool default
Docs/manual.texi:
Changelog
configure.in:
Fix for Intel compiler (ecc)
include/my_global.h:
Cleaned up QNX specific code.
include/my_pthread.h:
Safety
include/my_semaphore.h:
Cleaned up BSDI fix.
mysys/my_pthread.c:
Code comments
mysys/my_semaphore.c:
Fix for BSDI
sql/mysqld.cc:
Make --temp-pool default
sql/sql_parse.cc:
Safety
Diffstat (limited to 'include/my_semaphore.h')
-rw-r--r-- | include/my_semaphore.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/my_semaphore.h b/include/my_semaphore.h index e08138495f7..0deac1a60d1 100644 --- a/include/my_semaphore.h +++ b/include/my_semaphore.h @@ -35,8 +35,6 @@ C_MODE_START #ifdef HAVE_SEMAPHORE_H #include <semaphore.h> #elif defined(__bsdi__) -#include <sys/errno.h> -#else #ifdef __WIN__ typedef HANDLE sem_t; #else @@ -45,7 +43,7 @@ typedef struct { pthread_cond_t cond; uint count; } sem_t; -#endif +#endif /* __WIN__ */ int sem_init(sem_t * sem, int pshared, unsigned int value); int sem_destroy(sem_t * sem); @@ -55,7 +53,7 @@ int sem_post(sem_t * sem); int sem_post_multiple(sem_t * sem, unsigned int count); int sem_getvalue(sem_t * sem, unsigned int * sval); -#endif +#endif /* !__bsdi__ */ C_MODE_END #endif /* !_my_semaphore_h_ */ |