X-Git-Url: https://git.ao2.it/libam7xxx.git/blobdiff_plain/e691b17f2c134d1380f3c5d3dc25b3ec1ac9106f..3e874361f193d7ce9dec3971fd1d4923fea1a9a5:/examples/CMakeLists.txt?ds=sidebyside diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index c563f5f..f076b19 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -1,7 +1,5 @@ include(CheckSymbolExists) -add_definitions("-D_POSIX_C_SOURCE=2") # for getopt() -add_definitions("-D_POSIX_SOURCE") # for sigaction -add_definitions("-D_BSD_SOURCE") # for strdup +add_definitions("-D_POSIX_C_SOURCE=200809L") # for getopt(), sigaction(), and strdup() include_directories(${CMAKE_SOURCE_DIR}/src/)