Skip to content

Commit

Permalink
use -D_GNU_SOURCE on UNIX
Browse files Browse the repository at this point in the history
  • Loading branch information
fogleman committed Jan 9, 2014
1 parent 5e49aa8 commit 086029f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/glfw/CMakeLists.txt
Expand Up @@ -84,7 +84,7 @@ endif()
# Set compiler specific flags
#--------------------------------------------------------------------
if (UNIX)
add_definitions(-Wall)
add_definitions(-Wall -D_GNU_SOURCE)

if (BUILD_SHARED_LIBS)
add_definitions(-fvisibility=hidden)
Expand Down

0 comments on commit 086029f

Please sign in to comment.