summaryrefslogtreecommitdiffstats
path: root/test/cc-gnu.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/cc-gnu.c')
-rw-r--r--test/cc-gnu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/cc-gnu.c b/test/cc-gnu.c
index e74ccf7..92d2085 100644
--- a/test/cc-gnu.c
+++ b/test/cc-gnu.c
@@ -27,6 +27,10 @@ int main(int argc, const char* argv[])
);
}
fprintf(stdout,
+#ifdef _WIN32
+ "#define _WIN32 1\n"
+ "#define __MINGW32__ 1\n"
+#endif
"#define __GNUC__ 1\n"
"#define __has_include(x) x\n"
"#define __has_include_next(x) x\n"