#ifndef __STDDEF_LOADED #define __STDDEF_LOADED #ifndef __STDDEF_PROCESSED #define __STDDEF_PROCESSED /**************************************************************************** ** ** - Common Definitions ** ***************************************************************************** ** Header introduced by the ANSI C Standard ***************************************************************************** ** ** Copyright 2004 Hewlett-Packard Development Company, L.P. ** ** Confidential computer software. Valid license from HP and/or ** its subsidiaries required for possession, use, or copying. ** ** Consistent with FAR 12.211 and 12.212, Commercial Computer Software, ** Computer Software Documentation, and Technical Data for Commercial ** Items are licensed to the U.S. Government under vendor's standard ** commercial license. ** ** Neither HP nor any of its subsidiaries shall be liable for technical ** or editorial errors or omissions contained herein. The information ** in this document is provided "as is" without warranty of any kind and ** is subject to change without notice. The warranties for HP products ** are set forth in the express limited warranty statements accompanying ** such products. Nothing herein should be construed as constituting an ** additional warranty. ** ***************************************************************************** */ #pragma __nostandard #include #ifdef __NAMESPACE_STD namespace std { #endif typedef int ptrdiff_t; #ifndef __SIZE_T # define __SIZE_T 1 typedef __size_t size_t; #endif #ifdef __NAMESPACE_STD } /* namespace std */ #endif #ifndef __WCHAR_T # define __WCHAR_T typedef __wchar_t wchar_t; #endif #ifndef NULL # define NULL __NULL #endif #if __DECCXX_VER > 60500000 # define offsetof(__t, __memb) ((__size_t)__INTADDR__(&(((__t *)0)->__memb))) #else # define offsetof(type, identifier) ((__size_t)((char *)&((type*)0L)->identifier - (char *)0L)) #endif #pragma __standard #endif /* __STDDEF_PROCESSED */ #if defined(__NAMESPACE_STD) && !defined(__NAMESPACE_STD_ONLY) # ifndef __USING_STDDEF_NAMES # define __USING_STDDEF_NAMES using std::ptrdiff_t; using std::size_t; # endif #endif #endif /* __STDDEF_LOADED */