Try XOPEN SOURCE 700

master
Melroy van den Berg 2022-02-04 23:54:21 +01:00
parent a16c298ea0
commit a950af444b
No known key found for this signature in database
GPG Key ID: 71D11FF23454B9D7
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ set(LIBARY_NAME ${PROJECT_NAME})
add_library(${LIBARY_NAME} STATIC whereami.c whereami.h)
# Add X/Open definition for realpath
target_compile_definitions(${LIBARY_NAME} PUBLIC _XOPEN_SOURCE=500)
target_compile_definitions(${LIBARY_NAME} PUBLIC _XOPEN_SOURCE=700)
# Use PUBLIC iso INTERFACE, so the library itself also finds it's own header file
target_include_directories(