compiler: fix empty structs

pull/2010/head
joe-conigliaro 2019-09-16 21:44:12 +10:00 committed by Alexander Medvednikov
parent 74ec57e0e1
commit 155fecadb7
1 changed files with 5 additions and 2 deletions

View File

@ -39,12 +39,15 @@ CommonCHeaders = '
#endif
#define EMPTY_STRUCT_DECLARATION
#define EMPTY_STRUCT_INITIALIZATION 0
#ifdef __TINYC__
#undef EMPTY_STRUCT_INITIALIZATION
#define EMPTY_STRUCT_INITIALIZATION
#endif
#define OPTION_CAST(x) (x)
#ifdef _WIN32
#undef EMPTY_STRUCT_INITIALIZATION
#define EMPTY_STRUCT_INITIALIZATION 0
#define WIN32_LEAN_AND_MEAN
#include <windows.h>