mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
fix: redefinition of APIENTRY macro
Add guard for redifinition of APIENTRY in DirectX headers that could be defined in other headers of this project like GL. Fixes #648 Signed-off-by: Torsten Keßler <t.kessler@posteo.de>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b600410af2
commit
e1b429db40
@@ -75,6 +75,9 @@ typedef const wchar_t *LPCWSTR, *PCWSTR;
|
||||
#define DECLSPEC_NOVTABLE
|
||||
#define DECLSPEC_SELECTANY
|
||||
#define EXTERN_C extern "C"
|
||||
#ifdef APIENTRY
|
||||
#undef APIENTRY
|
||||
#endif
|
||||
#define APIENTRY
|
||||
#define OUT
|
||||
#define IN
|
||||
|
||||
Reference in New Issue
Block a user