mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-26 03:12:23 +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
|
||||
# some string functions rely on locale_t availability,
|
||||
# which was introduced in POSIX.1-2008, forcing us to go higher
|
||||
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
||||
add_compile_definitions(_XOPEN_SOURCE=700)
|
||||
else()
|
||||
add_compile_definitions(_XOPEN_SOURCE=600)
|
||||
endif()
|
||||
#if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
|
||||
# add_compile_definitions(_XOPEN_SOURCE=700)
|
||||
#else()
|
||||
# add_compile_definitions(_XOPEN_SOURCE=600)
|
||||
#endif()
|
||||
|
||||
# Data types, macros and functions related to controlling CPU affinity and
|
||||
# some memory allocation are available on Linux through GNU extensions in libc
|
||||
|
Loading…
Reference in New Issue
Block a user