]> pd.if.org Git - pdclib/blob - stddef.h
Second try. Freestanding only, for now.
[pdclib] / stddef.h
1 #ifndef _PDCLIB_STDDEF_H
2 #define _PDCLIB_STDDEF_H _PDCLIB_STDDEF_H
3
4 /* $Id$ */
5
6 /* 7.17 Common definitions <stddef.h>
7
8    This file is part of the Public Domain C Library (PDCLib).
9    Permission is granted to use, modify, and / or redistribute at will.
10 */
11
12 #ifndef _PDCLIB_DEFS_H
13 #define _PDCLIB_DEFS_H _PDCLIB_DEFS_H
14 #include <_PDCLIB_defs.h>
15 #endif
16
17 typedef _PDCLIB_ptrdiff_t ptrdiff_t;
18 typedef _PDCLIB_size_t    size_t;
19 typedef _PDCLIB_wchar_t   wchar_t;
20
21 #define NULL _PDCLIB_NULL
22
23 #define offsetof( type, member ) _PDCLIB_offsetof( type, member )
24
25 #endif