diff src/joystick/win32/SDL_dxjoystick_c.h @ 2760:02aa80d7905f

Updated Visual C++ build
author Sam Lantinga <slouken@libsdl.org>
date Mon, 15 Sep 2008 07:34:36 +0000
parents 50bc882455e5
children c3ff3d5d16f0
line wrap: on
line diff
--- a/src/joystick/win32/SDL_dxjoystick_c.h	Mon Sep 15 06:49:23 2008 +0000
+++ b/src/joystick/win32/SDL_dxjoystick_c.h	Mon Sep 15 07:34:36 2008 +0000
@@ -37,15 +37,8 @@
 #include <windows.h>
 
 #define DIRECTINPUT_VERSION 0x0700      /* Need version 7 for force feedback. */
+#define INITGUID
 #include <dinput.h>
-#ifdef _MSC_VER
-    /* Used for the c_dfDIJoystick2 symbol (no imports are used) */
-#   pragma comment (lib, "dinput.lib")
-#endif
-#include <dxerr8.h>
-#ifdef _MSC_VER
-#   pragma comment (lib, "dxerr8.lib")
-#endif
 
 
 #define MAX_INPUTS	256     /* each joystick can have up to 256 inputs */