mirror of https://github.com/mgba-emu/mgba.git
All: Replace menagerie for *_SOURCE flags for Linux with _GNU_SOURCE
This commit is contained in:
parent
d1a51637bc
commit
68c183e4bf
|
@ -171,7 +171,7 @@ elseif(UNIX)
|
|||
add_definitions(-DUSE_PTHREADS)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
add_definitions(-D_BSD_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L)
|
||||
add_definitions(-D_GNU_SOURCE)
|
||||
endif()
|
||||
if(NOT APPLE AND NOT HAIKU)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
|
||||
|
|
Loading…
Reference in New Issue