home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_08_03
/
8n03098b
< prev
next >
Wrap
Text File
|
1990-03-20
|
452b
|
31 lines
*** Listing 3 ***
/*
* stddef.h - common definitions (for DECUS C)
*/
#ifndef _STDDEF_H_INCLUDED
#include <quirks.h>
#define NULL ((void *)0)
#define offsetof(t, m) ((size_t)&(((t *)NULL)->m))
typedef int ptrdiff_t;
#ifndef _SIZE_T_DEFINED
typedef unsigned size_t;
#define _SIZE_T_DEFINED
#endif
#ifndef _WCHAR_T_DEFINED
typedef char wchar_t;
#define _WCHAR_T_DEFINED
#endif
#define _STDDEF_H_INCLUDED
#endif