Where ICOM macros are needed, include objbase.h.
This commit is contained in:
parent
e42b3ee4bb
commit
0087da5946
|
@ -20,7 +20,7 @@
|
||||||
#define __WINE_DINPUT_H
|
#define __WINE_DINPUT_H
|
||||||
|
|
||||||
#include "windef.h" /* for MAX_PATH */
|
#include "windef.h" /* for MAX_PATH */
|
||||||
#include "unknwn.h"
|
#include "objbase.h"
|
||||||
|
|
||||||
#ifndef DIRECTINPUT_VERSION
|
#ifndef DIRECTINPUT_VERSION
|
||||||
#define DIRECTINPUT_VERSION 0x0800
|
#define DIRECTINPUT_VERSION 0x0800
|
||||||
|
|
|
@ -32,9 +32,7 @@
|
||||||
#error DO NOT INCLUDE DIRECTLY
|
#error DO NOT INCLUDE DIRECTLY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define __WINE_INCLUDE_OBJIDL
|
#include "objbase.h"
|
||||||
#include "objidl.h"
|
|
||||||
#undef __WINE_INCLUDE_OBJIDL
|
|
||||||
/* the following depend only on obj_base.h */
|
/* the following depend only on obj_base.h */
|
||||||
#include "wine/obj_oleaut.h"
|
#include "wine/obj_oleaut.h"
|
||||||
#include "wine/obj_errorinfo.h"
|
#include "wine/obj_errorinfo.h"
|
||||||
|
|
Loading…
Reference in New Issue