aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conftest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/conftest.c b/conftest.c
index 53c181c..ddb7a20 100644
--- a/conftest.c
+++ b/conftest.c
@@ -37,6 +37,10 @@
# define TRIPLET TRIPLET_ARCH "-" TRIPLET_OS "-" TRIPLET_ABI
#endif
+#if defined(_WIN32)
+int _CRT_glob = 0;
+#endif
+
int main(int argc, char *argv[])
{
switch(argc == 2 ? argv[1][0] : 0) {