mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-27 04:23:06 +01:00
cmake : remove explicit _XOPEN_SOURCE
This commit is contained in:
parent
eb76b84252
commit
9605c5fb28
@ -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…
Reference in New Issue
Block a user