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 2013-10-17 23:02:29 -07:00
parent bf877ba691
commit a999af88e9
20 changed files with 62 additions and 38 deletions

View file

@ -1107,10 +1107,10 @@ SDLTest_PrintEvent(SDL_Event * event)
case SDL_FINGERDOWN:
case SDL_FINGERUP:
fprintf(stderr, "Finger: %s touch=%lld, finger=%lld, x=%f, y=%f, dx=%f, dy=%f, pressure=%f",
fprintf(stderr, "Finger: %s touch=%ld, finger=%ld, x=%f, y=%f, dx=%f, dy=%f, pressure=%f",
(event->type == SDL_FINGERDOWN) ? "down" : "up",
(long long) event->tfinger.touchId,
(long long) event->tfinger.fingerId,
(long) event->tfinger.touchId,
(long) event->tfinger.fingerId,
event->tfinger.x, event->tfinger.y,
event->tfinger.dx, event->tfinger.dy, event->tfinger.pressure);
break;