1 /* Common definitions <stddef.h>
3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
7 #ifndef _PDCLIB_STDDEF_H
8 #define _PDCLIB_STDDEF_H _PDCLIB_STDDEF_H
10 #include "_PDCLIB_int.h"
12 typedef _PDCLIB_ptrdiff_t ptrdiff_t;
14 #ifndef _PDCLIB_SIZE_T_DEFINED
15 #define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED
16 typedef _PDCLIB_size_t size_t;
19 typedef _PDCLIB_wchar_t wchar_t;
21 #ifndef _PDCLIB_NULL_DEFINED
22 #define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED
23 #define NULL _PDCLIB_NULL
26 #define offsetof( type, member ) _PDCLIB_offsetof( type, member )