[N-Rage] only need WBEM dependency in 1 .cpp, not a .h
This commit is contained in:
parent
0e67591be6
commit
5af1cfd3c2
|
@ -19,6 +19,10 @@
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
//code from http://msdn.microsoft.com/en-us/library/ee417014(VS.85).aspx
|
||||||
|
#include <windows.h>
|
||||||
|
#include <wbemidl.h>
|
||||||
|
|
||||||
#include "XInputController.h"
|
#include "XInputController.h"
|
||||||
#include "FileAccess.h"
|
#include "FileAccess.h"
|
||||||
#include <wchar.h>
|
#include <wchar.h>
|
||||||
|
|
|
@ -28,9 +28,6 @@
|
||||||
#ifndef _XINPUTCONTROLLER_H
|
#ifndef _XINPUTCONTROLLER_H
|
||||||
#define _XINPUTCONTROLLER_H
|
#define _XINPUTCONTROLLER_H
|
||||||
|
|
||||||
//code from http://msdn.microsoft.com/en-us/library/ee417014(VS.85).aspx
|
|
||||||
#include <wbemidl.h>
|
|
||||||
#include <oleauto.h>
|
|
||||||
//#include <wmsstd.h> <-- only needed for SAFE_RELEASE(x)
|
//#include <wmsstd.h> <-- only needed for SAFE_RELEASE(x)
|
||||||
|
|
||||||
/* fixes undefined FILE, etc. type errors in MSVC 2010 build -- cxd4 */
|
/* fixes undefined FILE, etc. type errors in MSVC 2010 build -- cxd4 */
|
||||||
|
|
Loading…
Reference in New Issue