|
|
1.1 root 1: #ifndef __STDDEF
2: #define __STDDEF
3:
4: #define NULL 0
5: #define offsetof(ty,mem) ((size_t)((char*)&((ty*)0)->mem - (char*)0))
6:
7: typedef long ptrdiff_t;
8:
9: #if !defined(_SIZE_T) && !defined(_SIZE_T_)
10: #define _SIZE_T
11: #define _SIZE_T_
12: typedef unsigned size_t;
13: #endif
14:
15: #if !defined(_WCHAR_T) && !defined(_WCHAR_T_)
16: #define _WCHAR_T
17: #define _WCHAR_T_
18: typedef unsigned char wchar_t;
19: #endif
20:
21: #endif /* __STDDEF */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.