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 | 8807608561c446d14419aa49fe2e3519448d671a (patch) | |
tree | 2cd66cc26c468b749cf92110dd6bd273e0c5cc4e /cmake/abi_check.cmake | |
parent | 5c871c90170c8839fce079704826873e0dab1c30 (diff) | |
download | mariadb-git-8807608561c446d14419aa49fe2e3519448d671a.tar.gz |
use _GNU_SOURCE on Linux to have all useful definitions (pthread_rwlock_t) for example
Diffstat (limited to 'cmake/abi_check.cmake')
-rw-r--r-- | cmake/abi_check.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/abi_check.cmake b/cmake/abi_check.cmake index 8e8426d5245..80c57fa0a6e 100644 --- a/cmake/abi_check.cmake +++ b/cmake/abi_check.cmake @@ -20,7 +20,7 @@ # # We use gcc specific preprocessing command and sed/diff, so it will # only be run on Unix and only if gcc is used. -IF(CMAKE_COMPILER_IS_GNUCC AND UNIX) +IF(CMAKE_COMPILER_IS_GNUCC AND Linux) IF(CMAKE_C_COMPILER MATCHES "ccache$") SET(COMPILER ${CMAKE_C_COMPILER_ARG1}) STRING(REGEX REPLACE "^ " "" COMPILER ${COMPILER}) |