Commit 3f60e7f8 authored by Edgar Simo's avatar Edgar Simo

Fixed compilation on mingw32.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403228
parent 105093d7
...@@ -38,6 +38,7 @@ ...@@ -38,6 +38,7 @@
#include "SDL_joystick.h" #include "SDL_joystick.h"
#include "../SDL_sysjoystick.h" #include "../SDL_sysjoystick.h"
#include "../SDL_joystick_c.h" #include "../SDL_joystick_c.h"
#define INITGUID /* Only set here, if set twice will cause mingw32 to break. */
#include "SDL_dxjoystick_c.h" #include "SDL_dxjoystick_c.h"
......
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
#include <windows.h> #include <windows.h>
#define DIRECTINPUT_VERSION 0x0700 /* Need version 7 for force feedback. */ #define DIRECTINPUT_VERSION 0x0700 /* Need version 7 for force feedback. */
#define INITGUID
#include <dinput.h> #include <dinput.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment