aboutsummaryrefslogtreecommitdiff
path: root/stddef.h
diff options
context:
space:
mode:
authorbellard <bellard>2002-11-24 15:59:03 +0000
committerbellard <bellard>2002-11-24 15:59:03 +0000
commit5fac37b0a28879a489dcd832d49b1e220fced3e9 (patch)
tree58d3076046baf714d9a78f131c1bdac96f93f02c /stddef.h
parentd1e7e264a5d1c90eb44e8c7e8319fcdab66e2d1b (diff)
downloadtinycc-5fac37b0a28879a489dcd832d49b1e220fced3e9.tar.gz
tinycc-5fac37b0a28879a489dcd832d49b1e220fced3e9.tar.bz2
use TCC macros
Diffstat (limited to 'stddef.h')
-rw-r--r--stddef.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/stddef.h b/stddef.h
index 1a5408d..24d7444 100644
--- a/stddef.h
+++ b/stddef.h
@@ -2,9 +2,9 @@
#define _STDDEF_H
#define NULL ((void *)0)
-typedef unsigned int size_t;
-typedef int wchar_t;
-typedef int ptrdiff_t;
+typedef __SIZE_TYPE__ size_t;
+typedef __WCHAR_TYPE__ wchar_t;
+typedef __PTRDIFF_TYPE__ ptrdiff_t;
#define offsetof(type, field) ((size_t) &((type *)0)->field)
/* need to do that because of glibc 2.1 bug (should have a way to test