mirror of
https://github.com/MariaDB/server.git
synced 2026-05-11 01:20:15 +02:00
just in case old linux is used, add _GNU_SOURCE preprocessor constant to be able to see pthread_rwlock_t
This commit is contained in:
parent
a87f4e1bbb
commit
10a7c78ed4
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ INCLUDE(CheckCSourceRuns)
|
|||
# OS tests
|
||||
IF(UNIX)
|
||||
IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
ADD_DEFINITIONS("-DUNIV_LINUX")
|
||||
ADD_DEFINITIONS("-DUNIV_LINUX -D_GNU_SOURCE=1")
|
||||
ELSEIF(CMAKE_SYSTEM_NAME MATCHES "HP*")
|
||||
ADD_DEFINITIONS("-DUNIV_HPUX -DUNIV_MUST_NOT_INLINE")
|
||||
ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "AIX")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue