mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
cmake: set _POSIX_C_SOURCE instead of _XOPEN_SOURCE
On Maemo we set _GNU_SOURCE instead because of its old glibc.
This commit is contained in:
parent
7cca01b4b8
commit
861850aafb
1 changed files with 4 additions and 1 deletions
|
@ -37,7 +37,10 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
|
|||
)
|
||||
add_definitions(-DLIBSUPERDERPY_GIT_REV="${LIBSUPERDERPY_GIT_REV}")
|
||||
|
||||
add_definitions(-D_XOPEN_SOURCE=600)
|
||||
add_definitions(-D_POSIX_C_SOURCE=200809L)
|
||||
if (MAEMO5)
|
||||
add_definitions(-D_GNU_SOURCE)
|
||||
endif (MAEMO5)
|
||||
|
||||
add_definitions(-DLIBSUPERDERPY_ORIENTATION_${LIBSUPERDERPY_ORIENTATION}=true)
|
||||
|
||||
|
|
Loading…
Reference in a new issue