We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c08ec00 commit 86481f1Copy full SHA for 86481f1
CMakeLists.txt
@@ -342,6 +342,8 @@ endif()
342
use_compat()
343
344
if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
345
+ # required for some extensions on Solaris (e.g. strndup), see man 7 standards, section "Feature Test Macros"
346
+ # https://docs.oracle.com/cd/E88353_01/html/E37853/posix-7.html
347
add_compile_definitions(__EXTENSIONS__)
348
endif()
349
0 commit comments