]> pd.if.org Git - pdclib/blob - includes/stddef.h
8968577e73f7f7853f13294e86202df5b8afc575
[pdclib] / includes / stddef.h
1 /* $Id$ */
2
3 /* 7.17 Common definitions <stddef.h>
4
5    This file is part of the Public Domain C Library (PDCLib).
6    Permission is granted to use, modify, and / or redistribute at will.
7 */
8
9 #ifndef _PDCLIB_STDDEF_H
10 #define _PDCLIB_STDDEF_H _PDCLIB_STDDEF_H
11
12 #ifndef _PDCLIB_CONFIG_H
13 #define _PDCLIB_CONFIG_H _PDCLIB_CONFIG_H
14 #include <_PDCLIB_config.h>
15 #endif
16
17 #ifndef _PDCLIB_INT_H
18 #define _PDCLIB_INT_H _PDCLIB_INT_H
19 #include <_PDCLIB_int.h>
20 #endif
21
22 typedef _PDCLIB_ptrdiff_t ptrdiff_t;
23
24 #ifndef _PDCLIB_SIZE_T_DEFINED
25 #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED
26 typedef _PDCLIB_size_t size_t;
27 #endif
28
29 typedef _PDCLIB_wchar_t   wchar_t;
30
31 #ifndef _PDCLIB_NULL_DEFINED
32 #define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED
33 #define NULL _PDCLIB_NULL
34 #endif
35
36 #define offsetof( type, member ) _PDCLIB_offsetof( type, member )
37
38 #endif
39