diff options
author | Vladislav Vaintroub <vvaintroub@koala> | 2010-01-13 16:52:14 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@koala> | 2010-01-13 16:52:14 +0100 |
commit | 5cddb6c15f58925b8bc1c348ead1f3e96b1be1b7 (patch) | |
tree | 2cd66cc26c468b749cf92110dd6bd273e0c5cc4e /configure.cmake | |
parent | 3fe740e13d2913e9f5f77325d19eb189209bce88 (diff) | |
download | mariadb-git-5cddb6c15f58925b8bc1c348ead1f3e96b1be1b7.tar.gz |
use _GNU_SOURCE on Linux to have all useful definitions (pthread_rwlock_t) for example
Diffstat (limited to 'configure.cmake')
-rw-r--r-- | configure.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.cmake b/configure.cmake index 9df2a4f19a1..271e18c04fd 100644 --- a/configure.cmake +++ b/configure.cmake @@ -49,6 +49,7 @@ ENDIF() IF (CMAKE_SYSTEM_NAME MATCHES "Linux") SET(TARGET_OS_LINUX 1) SET(HAVE_NPTL 1) + SET(_GNU_SOURCE 1) ELSEIF(CMAKE_SYSTEM_NAME MATCHES "SunOS") SET(TARGET_OS_SOLARIS 1) ENDIF() |