Merge branch 'nazara-next' into graphics-next
This commit is contained in:
@@ -21,4 +21,10 @@ MODULE.Custom = function()
|
||||
|
||||
filter({"architecture:x86", "system:linux"})
|
||||
defines("_POSIX_VER")
|
||||
|
||||
filter({"architecture:x86_64", "system:macosx"})
|
||||
defines("_POSIX_VER_64")
|
||||
|
||||
filter({"architecture:x86", "system:macosx"})
|
||||
defines("_POSIX_VER")
|
||||
end
|
||||
|
||||
@@ -21,11 +21,15 @@ MODULE.OsDefines.Windows = {
|
||||
"SDL_VIDEO_DRIVER_WINDOWS=1"
|
||||
}
|
||||
|
||||
MODULE.OsDefines.Posix = {
|
||||
"SDL_VIDEO_DRIVER_X11=1",
|
||||
"SDL_VIDEO_DRIVER_WAYLAND=1",
|
||||
}
|
||||
|
||||
MODULE.DynLib = {
|
||||
"SDL2"
|
||||
}
|
||||
|
||||
MODULE.Custom = function()
|
||||
filter("system:linux")
|
||||
defines("SDL_VIDEO_DRIVER_X11=1")
|
||||
defines("SDL_VIDEO_DRIVER_WAYLAND=1")
|
||||
|
||||
filter("system:macosx")
|
||||
defines("SDL_VIDEO_DRIVER_COCOA=1")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user