Mercurial > hg > tinycc
changeset 204:9939057d30e8
[project @ 2002-11-24 15:59:03 by bellard]
use TCC macros
author | bellard |
---|---|
date | Sun, 24 Nov 2002 15:59:03 +0000 |
parents | 997c377b270c |
children | 0e2c76559eaa |
files | stddef.h |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/stddef.h Sun Nov 24 15:58:50 2002 +0000 +++ b/stddef.h Sun Nov 24 15:59:03 2002 +0000 @@ -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