aboutsummaryrefslogtreecommitdiff
path: root/conftest.c
diff options
context:
space:
mode:
authorjiang <30155751@qq.com>2014-04-29 16:05:16 +0800
committerjiang <30155751@qq.com>2014-04-29 16:05:16 +0800
commit2a8905c93b4f67a21e3dbf297c3e93c598831528 (patch)
tree6f7491150cfe01700c9863946906203adad0de13 /conftest.c
parent02e2fe3c260415f4cb1cbcaca9b2403a17f7ff2e (diff)
parente20c1eb99e1003c1e59522c136dbb15c52d7cc7c (diff)
downloadtinycc-2a8905c93b4f67a21e3dbf297c3e93c598831528.tar.gz
tinycc-2a8905c93b4f67a21e3dbf297c3e93c598831528.tar.bz2
So that the generated code, and more short
Diffstat (limited to 'conftest.c')
-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) {