all repos — mgba @ 68c183e4bf2f011af6ba4b552980d91042597d76

mGBA Game Boy Advance Emulator

All: Replace menagerie for *_SOURCE flags for Linux with _GNU_SOURCE
Jeffrey Pfau jeffrey@endrift.com
Sat, 13 Jun 2015 05:06:34 -0700
commit

68c183e4bf2f011af6ba4b552980d91042597d76

parent

d1a51637bc18dc69114dd911507416344e584d79

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

@@ -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")