cmake : remove explicit _XOPEN_SOURCE
This commit is contained in:
parent
eb76b84252
commit
9605c5fb28
1 changed files with 5 additions and 5 deletions
|
@ -155,11 +155,11 @@ endif()
|
||||||
# Somehow in OpenBSD whenever POSIX conformance is specified
|
# Somehow in OpenBSD whenever POSIX conformance is specified
|
||||||
# some string functions rely on locale_t availability,
|
# some string functions rely on locale_t availability,
|
||||||
# which was introduced in POSIX.1-2008, forcing us to go higher
|
# which was introduced in POSIX.1-2008, forcing us to go higher
|
||||||
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
#if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
||||||
add_compile_definitions(_XOPEN_SOURCE=700)
|
# add_compile_definitions(_XOPEN_SOURCE=700)
|
||||||
else()
|
#else()
|
||||||
add_compile_definitions(_XOPEN_SOURCE=600)
|
# add_compile_definitions(_XOPEN_SOURCE=600)
|
||||||
endif()
|
#endif()
|
||||||
|
|
||||||
# Data types, macros and functions related to controlling CPU affinity and
|
# Data types, macros and functions related to controlling CPU affinity and
|
||||||
# some memory allocation are available on Linux through GNU extensions in libc
|
# some memory allocation are available on Linux through GNU extensions in libc
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue