1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-14 00:48:44 +01:00
dxvk/src/util/com/com_include.h

18 lines
429 B
C
Raw Normal View History

2017-10-11 00:41:56 +02:00
#pragma once
// GCC complains about the COM interfaces
// not having virtual destructors
#ifdef __GNUC__
2017-10-11 00:41:56 +02:00
#pragma GCC diagnostic ignored "-Wnon-virtual-dtor"
#endif // __GNUC__
2017-10-11 00:41:56 +02:00
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include <unknwn.h>
// GCC: -std options disable certain keywords
// https://gcc.gnu.org/onlinedocs/gcc/Alternate-Keywords.html
#if defined(__WINE__) && !defined(typeof)
#define typeof __typeof
#endif