Fixed building using MinGW

Our SDL_windows.h needed to be included before anything else so UNICODE is defined.
This commit is contained in:
Sam Lantinga committed 2013-10-17 23:02:29 -07:00
1 parent a2bd897064
commit 12ca3ce3fa
20 files changed
+62 -38

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ AM_PATH_SDL2($SDL_VERSION,
AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
)
CFLAGS="$CFLAGS $SDL_CFLAGS"
LIBS="$LIBS $SDL_LIBS -lSDL2_test"
LIBS="$LIBS -lSDL2_test $SDL_LIBS"
dnl Check for X11 path, needed for OpenGL on some systems
AC_PATH_X