compiler: fix empty structs
parent
74ec57e0e1
commit
155fecadb7
|
@ -39,12 +39,15 @@ CommonCHeaders = '
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define EMPTY_STRUCT_DECLARATION
|
#define EMPTY_STRUCT_DECLARATION
|
||||||
|
#define EMPTY_STRUCT_INITIALIZATION 0
|
||||||
|
#ifdef __TINYC__
|
||||||
|
#undef EMPTY_STRUCT_INITIALIZATION
|
||||||
#define EMPTY_STRUCT_INITIALIZATION
|
#define EMPTY_STRUCT_INITIALIZATION
|
||||||
|
#endif
|
||||||
|
|
||||||
#define OPTION_CAST(x) (x)
|
#define OPTION_CAST(x) (x)
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#undef EMPTY_STRUCT_INITIALIZATION
|
|
||||||
#define EMPTY_STRUCT_INITIALIZATION 0
|
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue