add __GNUC__ defines

This commit is contained in:
FunkyFr3sh 2023-08-04 07:18:29 +02:00
parent 86fe2e5a90
commit e6b4eabe5b
3 changed files with 16 additions and 26 deletions

View file

@ -5,6 +5,10 @@
#include <windows.h>
#include "ddraw.h"
#ifdef __GNUC__
#define __try
#define __except(x) if (0)
#endif
typedef HRESULT(WINAPI* DIRECTDRAWCREATEPROC)(GUID FAR*, LPDIRECTDRAW FAR*, IUnknown FAR*);