Fixed Visual Studio build
authorSam Lantinga <slouken@libsdl.org>
Sun, 26 May 2013 14:37:41 -0700
changeset 7230757e9812ef1c
parent 7229 2636ad0a52e4
child 7231 6b7609e78489
Fixed Visual Studio build
src/joystick/windows/SDL_dxjoystick.c
     1.1 --- a/src/joystick/windows/SDL_dxjoystick.c	Sun May 26 13:06:54 2013 -0700
     1.2 +++ b/src/joystick/windows/SDL_dxjoystick.c	Sun May 26 14:37:41 2013 -0700
     1.3 @@ -373,9 +373,10 @@
     1.4  
     1.5  
     1.6  DEFINE_GUID(CLSID_WbemLocator,   0x4590f811,0x1d3a,0x11d0,0x89,0x1F,0x00,0xaa,0x00,0x4b,0x2e,0x24);
     1.7 -#ifndef __IWbemLocator_INTERFACE_DEFINED__
     1.8 +#ifdef _MSC_VER
     1.9 +/* The Windows SDK doesn't define this GUID */
    1.10  DEFINE_GUID(IID_IWbemLocator,    0xdc12a687,0x737f,0x11cf,0x88,0x4d,0x00,0xaa,0x00,0x4b,0x2e,0x24);
    1.11 -#endif
    1.12 +#endif /* _MSC_VER */
    1.13  
    1.14  /*-----------------------------------------------------------------------------
    1.15   *