X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=stddef.h;fp=stddef.h;h=babb365cee1b375dd47581e42b2ea2065ec1fc54;hb=fe2ffa3779dbc1ad31d15037e50d3d110341a159;hp=0000000000000000000000000000000000000000;hpb=037d49a62448bcf80cce678470e2f2fef819d6c5;p=pdclib.old diff --git a/stddef.h b/stddef.h new file mode 100644 index 0000000..babb365 --- /dev/null +++ b/stddef.h @@ -0,0 +1,25 @@ +#ifndef _PDCLIB_STDDEF_H +#define _PDCLIB_STDDEF_H _PDCLIB_STDDEF_H + +/* $Id$ */ + +/* 7.17 Common definitions + + This file is part of the Public Domain C Library (PDCLib). + Permission is granted to use, modify, and / or redistribute at will. +*/ + +#ifndef _PDCLIB_DEFS_H +#define _PDCLIB_DEFS_H _PDCLIB_DEFS_H +#include <_PDCLIB_defs.h> +#endif + +typedef _PDCLIB_ptrdiff_t ptrdiff_t; +typedef _PDCLIB_size_t size_t; +typedef _PDCLIB_wchar_t wchar_t; + +#define NULL _PDCLIB_NULL + +#define offsetof( type, member ) _PDCLIB_offsetof( type, member ) + +#endif