mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
NdbMutex.h:
oops forgot this one ndb/include/portlib/NdbMutex.h: oops forgot this one
This commit is contained in:
@@ -35,7 +35,7 @@ typedef SEMAPHORE NdbMutex;
|
|||||||
#elif defined NDB_WIN32
|
#elif defined NDB_WIN32
|
||||||
typedef CRITICAL_SECTION NdbMutex;
|
typedef CRITICAL_SECTION NdbMutex;
|
||||||
#else
|
#else
|
||||||
#include <my_pthread.h>
|
#include <pthread.h>
|
||||||
typedef pthread_mutex_t NdbMutex;
|
typedef pthread_mutex_t NdbMutex;
|
||||||
#define NDB_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
|
#define NDB_MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user