use TCC macros
This commit is contained in:
parent
d1e7e264a5
commit
5fac37b0a2
1 changed files with 3 additions and 3 deletions
6
stddef.h
6
stddef.h
|
@ -2,9 +2,9 @@
|
||||||
#define _STDDEF_H
|
#define _STDDEF_H
|
||||||
|
|
||||||
#define NULL ((void *)0)
|
#define NULL ((void *)0)
|
||||||
typedef unsigned int size_t;
|
typedef __SIZE_TYPE__ size_t;
|
||||||
typedef int wchar_t;
|
typedef __WCHAR_TYPE__ wchar_t;
|
||||||
typedef int ptrdiff_t;
|
typedef __PTRDIFF_TYPE__ ptrdiff_t;
|
||||||
#define offsetof(type, field) ((size_t) &((type *)0)->field)
|
#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
|
/* need to do that because of glibc 2.1 bug (should have a way to test
|
||||||
|
|
Loading…
Add table
Reference in a new issue