Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_unix/sys/include/ape/stddef.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#ifndef __STDDEF_H
2
#define __STDDEF_H
3
 
4
#ifndef NULL
5
#ifdef __cplusplus
6
#define NULL 0
7
#else
8
#define NULL ((void*)0)
9
#endif
10
#endif
11
#ifndef offsetof
12
#define offsetof(ty,mem) ((size_t) &(((ty *)0)->mem))
13
#endif
14
 
15
typedef long ptrdiff_t;
16
#ifndef _SIZE_T
17
#define _SIZE_T
18
typedef unsigned long size_t;
19
#endif
20
#ifndef _WCHAR_T
21
#define _WCHAR_T
22
typedef unsigned short wchar_t;
23
#endif
24
 
25
#endif /* __STDDEF_H */