fix Waring on compilation

This commit is contained in:
kakwa 2016-11-02 18:57:26 +01:00
parent 1b70725d86
commit fc1a736672
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ set(VERSION 0.1.1)
option(DEBUG "compile with debug symbol" OFF)
option(BUNDLE_CIVETWEB "bundle civetweb with uts-server" OFF)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_BSD_SOURCE -D_XOPEN_SOURCE=700")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700")
if(DEBUG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -g")