mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Linux: Use _DEFAULT_SOURCE.
Needed for gettimeofday() etc. Keeping _BSD_SOURCE for now for compatibility.
This commit is contained in:
parent
add3a6b01d
commit
021aa319d5
@ -416,7 +416,7 @@ if(NOT MSVC)
|
||||
add_definitions(-Wno-psabi)
|
||||
endif()
|
||||
add_definitions(-D_XOPEN_SOURCE=700)
|
||||
add_definitions(-D_XOPEN_SOURCE_EXTENDED -D__BSD_VISIBLE=1 -D_BSD_SOURCE)
|
||||
add_definitions(-D_XOPEN_SOURCE_EXTENDED -D__BSD_VISIBLE=1 -D_BSD_SOURCE -D_DEFAULT_SOURCE)
|
||||
add_definitions(-D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64)
|
||||
elseif(ANDROID)
|
||||
add_definitions(-fsigned-char)
|
||||
|
Loading…
Reference in New Issue
Block a user