mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 03:47:17 +02:00
use _GNU_SOURCE on Linux to have all useful definitions (pthread_rwlock_t) for example
This commit is contained in:
parent
3fe740e13d
commit
5cddb6c15f
3 changed files with 3 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue