* include/unknwn.h: Include windows.h and ole2.h before header
guard to avoid circular inclusion of COM headers.
This commit is contained in:
@ -1,14 +1,14 @@
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifndef _UNKNWN_H
|
||||
#define _UNKNWN_H
|
||||
#if __GNUC__ >=3
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
#ifndef COM_NO_WINDOWS_H
|
||||
#include <windows.h>
|
||||
#include <ole2.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"{
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user