diff options
| author | Matthias Gatto <uso.cosmo.ray@gmail.com> | 2017-07-25 18:56:06 +0200 |
|---|---|---|
| committer | Matthias Gatto <uso.cosmo.ray@gmail.com> | 2017-07-25 18:56:41 +0200 |
| commit | 52622c3c0365ad497ce1188e433ac5f0a721c283 (patch) | |
| tree | 9bc3b268700e41f270d97ae4687ead671e950941 /libtcc.c | |
| parent | 23064b17343b7222feae120c037cf43d196068da (diff) | |
| download | tinycc-52622c3c0365ad497ce1188e433ac5f0a721c283.tar.gz tinycc-52622c3c0365ad497ce1188e433ac5f0a721c283.tar.bz2 | |
use int for ssize_t, (u)intptr_t instead of long in stddef.h
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -848,8 +848,8 @@ LIBTCCAPI TCCState *tcc_new(void) tcc_define_symbol(s, "__LP64__", NULL); #else /* Other 32bit systems. */ - tcc_define_symbol(s, "__SIZE_TYPE__", "unsigned int"); - tcc_define_symbol(s, "__PTRDIFF_TYPE__", "int"); + tcc_define_symbol(s, "__SIZE_TYPE__", "unsigned long"); + tcc_define_symbol(s, "__PTRDIFF_TYPE__", "long"); tcc_define_symbol(s, "__ILP32__", NULL); #endif |
