Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
alexbevi
GitHub Repository: alexbevi/BizHawk
Path: blob/master/waterbox/libc/includes/stddef.h
2 views
1
/* Common definitions <stddef.h>
2
3
This file is part of the Public Domain C Library (PDCLib).
4
Permission is granted to use, modify, and / or redistribute at will.
5
*/
6
7
#ifndef _PDCLIB_STDDEF_H
8
#define _PDCLIB_STDDEF_H _PDCLIB_STDDEF_H
9
#include "_PDCLIB_config.h"
10
#include "_PDCLIB_int.h"
11
12
#ifdef __cplusplus
13
extern "C" {
14
#endif
15
16
typedef _PDCLIB_ptrdiff_t ptrdiff_t;
17
18
#ifndef _PDCLIB_SIZE_T_DEFINED
19
#define _PDCLIB_SIZE_T_DEFINED _PDCLIB_SIZE_T_DEFINED
20
typedef _PDCLIB_size_t size_t;
21
#endif
22
23
#ifndef __cplusplus
24
#ifndef _PDCLIB_WCHAR_T_DEFINED
25
#define _PDCLIB_WCHAR_T_DEFINED _PDCLIB_WCHAR_T_DEFINED
26
typedef _PDCLIB_wchar_t wchar_t;
27
#endif
28
#endif
29
30
#ifndef _PDCLIB_NULL_DEFINED
31
#define _PDCLIB_NULL_DEFINED _PDCLIB_NULL_DEFINED
32
#define NULL _PDCLIB_NULL
33
#endif
34
35
#define offsetof( type, member ) _PDCLIB_offsetof( type, member )
36
37
#ifdef __cplusplus
38
}
39
#endif
40
41
#endif
42
43