blob: af3b5ceedac6bd52ef902ac2d3fe5c02c40ebbf1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e3cd0fe..64c18a2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@ if (CMAKE_COMPILER_IS_GNUCXX)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions -fno-check-new -fno-common")
- add_definitions(-D_BSD_SOURCE)
+ add_definitions(-D_DEFAULT_SOURCE)
endif (CMAKE_COMPILER_IS_GNUCXX)
# Enable CPack
|