]> pd.if.org Git - pdclib/blob - includes/stddef.h
* Change the style of inclusion of the internal/ headers. Modern preprocessors
[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 #include <_PDCLIB_config.h>
12 #include <_PDCLIB_int.h>
13 _PDCLIB_BEGIN_EXTERN_C
14
15 typedef _PDCLIB_ptrdiff_t ptrdiff_t;
16
17 #ifndef _PDCLIB_SIZE_T_DEFINED
18 #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED
19 typedef _PDCLIB_size_t size_t;
20 #endif
21
22 #ifndef __cplusplus
23 typedef _PDCLIB_wchar_t   wchar_t;
24 #endif
25
26 #ifndef _PDCLIB_NULL_DEFINED
27 #define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED
28 #define NULL _PDCLIB_NULL
29 #endif
30
31 #define offsetof( type, member ) _PDCLIB_offsetof( type, member )
32
33 _PDCLIB_END_EXTERN_C
34 #endif
35