aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorgrischka <grischka>2016-12-18 22:05:42 +0100
committergrischka <grischka>2016-12-18 22:05:42 +0100
commita1c12b9fb9bd2452a90d3cf504574b3605c09702 (patch)
tree3166ee219d1463f5ed5bfc00aada753502fbe706 /tcc.h
parentf7fc4f02cf15e061b98b2224332b1739c69ef9db (diff)
downloadtinycc-a1c12b9fb9bd2452a90d3cf504574b3605c09702.tar.gz
tinycc-a1c12b9fb9bd2452a90d3cf504574b3605c09702.tar.bz2
tests: add memory leak test
Also ... tcctest.c: - exclude stuff that gcc doesn't compile on windows. libtcc.c/tccpp.c: - use unsigned for memory sizes to avoid printf format warnings - use "file:line: message" to make IDE error parsers happy. tccgen.c: fix typo
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 9b65e6d..fcff9ee 100644
--- a/tcc.h
+++ b/tcc.h
@@ -71,6 +71,7 @@
# pragma warning (disable : 4996) // The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name
# pragma warning (disable : 4018) // signed/unsigned mismatch
# pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned
+# define ssize_t intptr_t
# endif
# undef CONFIG_TCC_STATIC
#endif