summaryrefslogtreecommitdiff
path: root/config.h.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@koala>2010-01-13 16:52:14 +0100
committerVladislav Vaintroub <vvaintroub@koala>2010-01-13 16:52:14 +0100
commit5cddb6c15f58925b8bc1c348ead1f3e96b1be1b7 (patch)
tree2cd66cc26c468b749cf92110dd6bd273e0c5cc4e /config.h.cmake
parent3fe740e13d2913e9f5f77325d19eb189209bce88 (diff)
downloadmariadb-git-5cddb6c15f58925b8bc1c348ead1f3e96b1be1b7.tar.gz
use _GNU_SOURCE on Linux to have all useful definitions (pthread_rwlock_t) for example
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index 452525da24e..7abd23cb4b8 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -18,6 +18,7 @@
#cmakedefine DOT_FRM_VERSION @DOT_FRM_VERSION@
/* Headers we may want to use. */
#cmakedefine STDC_HEADERS 1
+#cmakedefine _GNU_SOURCE 1
#cmakedefine HAVE_ALLOCA_H 1
#cmakedefine HAVE_AIO_H 1
#cmakedefine HAVE_ARPA_INET_H 1