Add HAVE_BUILTIN_AUTOCONFIG for SDL2/Emscripten

This commit is contained in:
twinaphex 2016-09-03 07:04:23 +02:00
parent 49d52b8ca2
commit ba52d6728a

View File

@ -30,7 +30,7 @@ ifneq ($(NATIVE_ZLIB),)
endif
ifeq ($(HAVE_SDL2), 1)
DEFINES += -DHAVE_SDL2
DEFINES += -DHAVE_SDL2 -DHAVE_BUILTIN_AUTOCONFIG
endif
#if you compile with SDL2 flag add this Emscripten flag "-s USE_SDL=2" to LDFLAGS: