Skip to content

Commit 9605c5f

Browse files
committed
cmake : remove explicit _XOPEN_SOURCE
1 parent eb76b84 commit 9605c5f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ggml/src/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,11 @@ endif()
155155
# Somehow in OpenBSD whenever POSIX conformance is specified
156156
# some string functions rely on locale_t availability,
157157
# which was introduced in POSIX.1-2008, forcing us to go higher
158-
if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
159-
add_compile_definitions(_XOPEN_SOURCE=700)
160-
else()
161-
add_compile_definitions(_XOPEN_SOURCE=600)
162-
endif()
158+
#if (CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
159+
# add_compile_definitions(_XOPEN_SOURCE=700)
160+
#else()
161+
# add_compile_definitions(_XOPEN_SOURCE=600)
162+
#endif()
163163

164164
# Data types, macros and functions related to controlling CPU affinity and
165165
# some memory allocation are available on Linux through GNU extensions in libc

0 commit comments

Comments
 (0)