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