3 /* 7.17 Common definitions <stddef.h>
5 This file is part of the Public Domain C Library (PDCLib).
6 Permission is granted to use, modify, and / or redistribute at will.
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
15 typedef _PDCLIB_ptrdiff_t ptrdiff_t;
17 #ifndef _PDCLIB_SIZE_T_DEFINED
18 #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED
19 typedef _PDCLIB_size_t size_t;
23 #ifndef _PDCLIB_WCHAR_T_DEFINED
24 #define _PDCLIB_WCHAR_T_DEFINED _PDCLIB_WCHAR_T_DEFINED
25 typedef _PDCLIB_wchar_t wchar_t;
29 #ifndef _PDCLIB_NULL_DEFINED
30 #define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED
31 #define NULL _PDCLIB_NULL
34 #define offsetof( type, member ) _PDCLIB_offsetof( type, member )