Changeset 8069
- Timestamp:
- Mar 13, 2011, 10:05:11 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/mac_osx/src/external/ois/win32/Win32JoyStick.cpp
r7506 r8069 38 38 x = NULL; \ 39 39 } 40 #endif 41 42 // (Orxonox): MinGW doesn't have swscanf_s 43 #ifdef __MINGW32__ 44 # define swscanf_s swscanf 40 45 #endif 41 46 … … 584 589 585 590 // Create WMI 591 // (Orxonox): Fix for MinGW 592 #ifdef __MINGW32__ 593 hr = CoCreateInstance(CLSID_WbemLocator, NULL, CLSCTX_INPROC_SERVER, IID_IWbemLocator, (LPVOID*)&pIWbemLocator); 594 #else 586 595 hr = CoCreateInstance(__uuidof(WbemLocator), NULL, CLSCTX_INPROC_SERVER, __uuidof(IWbemLocator), (LPVOID*)&pIWbemLocator); 596 #endif 587 597 if( FAILED(hr) || pIWbemLocator == NULL ) 588 598 goto LCleanup;
Note: See TracChangeset
for help on using the changeset viewer.