mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Exclude SDL2 for C89 builds
This commit is contained in:
parent
2b840c0384
commit
49ec5a08d2
@ -669,6 +669,8 @@ ifeq ($(HAVE_SDL), 1)
|
||||
LIBS += $(SDL_LIBS)
|
||||
endif
|
||||
|
||||
# SDL_syswm.h is not C89/C90-compliant.
|
||||
ifneq ($(C89_BUILD), 1)
|
||||
ifeq ($(HAVE_SDL2), 1)
|
||||
OBJ += gfx/drivers/sdl2_gfx.o \
|
||||
input/drivers/sdl_input.o \
|
||||
@ -684,6 +686,7 @@ ifeq ($(HAVE_SDL2), 1)
|
||||
LIBS += $(SDL2_LIBS)
|
||||
HAVE_SDL = 0
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(HAVE_OMAP), 1)
|
||||
OBJ += gfx/drivers/omap_gfx.o
|
||||
|
Loading…
x
Reference in New Issue
Block a user