diff options
author | Martin Baulig <martin.baulig@xamarin.com> | 2016-07-20 22:21:54 +0300 |
---|---|---|
committer | Martin Baulig <martin.baulig@xamarin.com> | 2016-07-20 22:21:54 +0300 |
commit | 39408b710a4152a5a1974e3ee650db871277ee9f (patch) | |
tree | 166232e68ebb7a57b4888522475d103281134f34 | |
parent | f38aad388ab7aae582a77f9bc681ff6f7f1be24f (diff) |
Revert "Don't define XOPEN_SOURCE."
This reverts commit f38aad388ab7aae582a77f9bc681ff6f7f1be24f.
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f3c73412..388b7505 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -92,7 +92,7 @@ endif() if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_C_COMPILER_VERSION VERSION_GREATER "4.8.99") OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c11 -D_XOPEN_SOURCE=700") endif() if(FUZZ) |