changed to -D_DEFAULT_SOURCE for RasPi

This commit is contained in:
armageddon421 2020-05-05 23:32:01 +02:00 committed by GitHub
parent 5631b9faea
commit 94e6ce0c3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ elseif(${PLATFORM} MATCHES "Raspberry Pi")
set(PLATFORM_CPP "PLATFORM_RPI")
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
add_definitions(-D_GNU_SOURCE=1)
add_definitions(-D_DEFAULT_SOURCE)
find_library(GLESV2 brcmGLESv2 HINTS /opt/vc/lib)
find_library(EGL brcmEGL HINTS /opt/vc/lib)