tinycc/stddef.h

11 lines
204 B
C
Raw Normal View History

2001-11-11 10:54:21 +08:00
#ifndef _STDDEF_H
#define _STDDEF_H
#define NULL ((void *)0)
typedef unsigned int size_t;
2001-11-12 02:01:29 +08:00
typedef int wchar_t;
2001-12-18 05:57:01 +08:00
typedef int ptrdiff_t;
#define offsetof(type, field) ((size_t) &((type *)0)->field)
2001-11-11 10:54:21 +08:00
#endif