Changeset 8073 for code/branches/kicklib/src/external/ois/win32
- Timestamp:
- Mar 14, 2011, 4:08:06 AM (14 years ago)
- Location:
- code/branches/kicklib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/kicklib
- Property svn:mergeinfo changed
/code/branches/mac_osx (added) merged: 7789,7933-7934,8042-8049,8054-8056,8059-8060,8065,8069-8070,8072
- Property svn:mergeinfo changed
-
code/branches/kicklib/src/external/ois/win32/Win32JoyStick.cpp
r8071 r8073 26 26 #include "OISEvents.h" 27 27 #include "OISException.h" 28 29 // (Orxonox): Required for MinGW to compile properly 30 #ifdef __MINGW32__ 31 # include <oaidl.h> 32 # ifndef __MINGW_EXTENSION 33 # define __MINGW_EXTENSION __extension__ 34 # endif 35 #endif 28 36 29 37 #include <cassert> … … 38 46 x = NULL; \ 39 47 } 48 #endif 49 50 // (Orxonox): MinGW doesn't have swscanf_s 51 #ifdef __MINGW32__ 52 # define swscanf_s swscanf 40 53 #endif 41 54 … … 584 597 585 598 // Create WMI 599 // (Orxonox): Fix for MinGW 600 #ifdef __MINGW32__ 601 hr = CoCreateInstance(CLSID_WbemLocator, NULL, CLSCTX_INPROC_SERVER, IID_IWbemLocator, (LPVOID*)&pIWbemLocator); 602 #else 586 603 hr = CoCreateInstance(__uuidof(WbemLocator), NULL, CLSCTX_INPROC_SERVER, __uuidof(IWbemLocator), (LPVOID*)&pIWbemLocator); 604 #endif 587 605 if( FAILED(hr) || pIWbemLocator == NULL ) 588 606 goto LCleanup;
Note: See TracChangeset
for help on using the changeset viewer.