/* Copyright 1989, 1990, 1992 Digital Equipment Corporation All rights reserved. This software is furnished under a license and may be used and copied only in accordance with the terms of such license and with the inclusion of the above copyright notice. This software and any copies shall not be provided to any other person. No title to or ownership of the software is hereby transferred. The information in this software is subject to change without notice. DIGITAL assumes no responsibility for the use, functionality or reliability of its software on equipment which is not supplied by DIGITAL. STDDEF.H */ #ifndef __STDDEF_H #define __STDDEF_H /* Typedef definitions: */ typedef int ptrdiff_t; #ifndef __DEFINED_SIZE_T #define __DEFINED_SIZE_T typedef unsigned int size_t; #endif #ifndef __DEFINED_WCHAR_T #define __DEFINED_WCHAR_T typedef unsigned char wchar_t; #endif /* Macro Defintions: */ #ifndef __DEFINED_NULL_MACRO #define __DEFINED_NULL_MACRO #define NULL ((void *) 0) #endif #define offsetof( __type, __member ) \ ( (size_t) ( & (((__type *) NULL)->__member) ) ) #endif