diff options
author | monty@donna.mysql.com <> | 2000-09-20 19:37:07 +0300 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-09-20 19:37:07 +0300 |
commit | 830d30896066b325d1ee0769ca116efdaef602f2 (patch) | |
tree | df5d441bed10a34a5a2157ad96f60a04046960b8 /include/my_pthread.h | |
parent | 2780278f35ae9ec1a73fb4d5ecedecf9f44d0c8b (diff) | |
download | mariadb-git-830d30896066b325d1ee0769ca116efdaef602f2.tar.gz |
Fix for SAFE_MUTEX on windows
Diffstat (limited to 'include/my_pthread.h')
-rw-r--r-- | include/my_pthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_pthread.h b/include/my_pthread.h index d5f3fa735b2..71ad5e42bf2 100644 --- a/include/my_pthread.h +++ b/include/my_pthread.h @@ -85,6 +85,7 @@ void pthread_exit(unsigned A); /* was #define pthread_exit(A) ExitThread(A)*/ #define HAVE_PTHREAD_ATTR_SETSTACKSIZE #ifdef USE_TLS /* For LIBMYSQL.DLL */ +#undef SAFE_MUTEX /* This will cause conflicts */ #define pthread_key(T,V) DWORD V #define pthread_key_create(A,B) ((*A=TlsAlloc())==0xFFFFFFFF) #define pthread_getspecific(A) (TlsGetValue(A)) |