# HG changeset patch # User Edgar Simo # Date 1217758831 0 # Node ID 72c4ac55f73c48bfae20d8849763efa740a73f15 # Parent 72b17d80b42686a9a0effc97e7ebcc57762f3925 Attempt to fix windows haptic port compilation errors. diff -r 72b17d80b426 -r 72c4ac55f73c src/haptic/win32/SDL_syshaptic.c --- a/src/haptic/win32/SDL_syshaptic.c Thu Jul 31 17:27:32 2008 +0000 +++ b/src/haptic/win32/SDL_syshaptic.c Sun Aug 03 10:20:31 2008 +0000 @@ -34,9 +34,9 @@ #define DIRECTINPUT_VERSION 0x0700 /* Need at least DirectX 7 for dwStartDelay */ #include -#include /* From DirectX SDK 9c */ +#include #ifdef _MSC_VER -# pragma comment (lib, "dxerr9.lib") +# pragma comment (lib, "dxerr.lib") #endif /* _MSC_VER */ /* an ISO hack for VisualC++ */ @@ -104,8 +104,8 @@ DI_SetError(const char *str, HRESULT err) { SDL_SetError( "Haptic: %s - %s: %s", str, - DXGetErrorString9(err), - DXGetErrorDescription9(err)); + DXGetErrorString(err), + DXGetErrorDescription(err)); }