From b71bb95f7d9c7cc33673a63cf90b0ca1d44221f4 Mon Sep 17 00:00:00 2001 From: joe-conigliaro Date: Sun, 15 Sep 2019 19:27:28 +1000 Subject: [PATCH] msvc: empty struct decl fix --- compiler/cheaders.v | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/compiler/cheaders.v b/compiler/cheaders.v index 3387878c2e..e796f1e597 100644 --- a/compiler/cheaders.v +++ b/compiler/cheaders.v @@ -40,6 +40,10 @@ CommonCHeaders = ' #define EMPTY_STRUCT_DECLARATION +#ifdef _MSC_VER +#define EMPTY_STRUCT_DECLARATION int:0 +#endif + #define OPTION_CAST(x) (x) #ifdef _WIN32