Get rid of GNU_SOURCE (issue #625)

This commit is contained in:
o9000
2017-03-05 11:37:46 +01:00
parent 468bc16b0f
commit 4a5f0a7d83
5 changed files with 13 additions and 10 deletions

View File

@@ -82,7 +82,7 @@ if( NOT IMLIB_BUILD_WITH_X )
message( FATAL_ERROR "Imlib is not built with X support" )
endif( NOT IMLIB_BUILD_WITH_X )
add_definitions( -D_GNU_SOURCE )
add_definitions( -D_POSIX_C_SOURCE=200809L -D_BSD_SOURCE )
include_directories( ${PROJECT_BINARY_DIR}
src