X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fstddef.h;h=d72ca71cbad171877eb9e12db368e790d1afa6b4;hb=15e3f8a309359e62810df3cd1dafaf77481452a2;hp=2147696986334d4dfa05274be8497f82eaece197;hpb=3f035390c831709593428e88bb1c640604434d60;p=pdclib.old diff --git a/includes/stddef.h b/includes/stddef.h index 2147696..d72ca71 100644 --- a/includes/stddef.h +++ b/includes/stddef.h @@ -10,6 +10,20 @@ #ifndef __STDDEF_H #define __STDDEF_H __STDDEF_H -// TODO +// ---------------------------------------------------------------------------- +// MACROS + +#define NULL 0 +#define offsetof( s-type, mbr ) // TODO + +// ---------------------------------------------------------------------------- +// TYPEDEFS + +typedef ptrdiff_t; // TODO +typedef size_t; // TODO + +#ifndef __cplusplus +typedef wchar_t; +#endif // __cplusplus #endif // __STDDEF_H