add __GNUC__ defines
This commit is contained in:
parent
86fe2e5a90
commit
e6b4eabe5b
3 changed files with 16 additions and 26 deletions
4
inc/dd.h
4
inc/dd.h
|
@ -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*);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue