#ifndef __STDDEF_LOADED #define __STDDEF_LOADED #ifndef __STDDEF_PROCESSED #define __STDDEF_PROCESSED /**************************************************************************** ** ** - Common Definitions ** ***************************************************************************** ** Header introduced by the ANSI C Standard ***************************************************************************** */ /* ************************************************************************* */ /* * * */ /* * HPE CONFIDENTIAL. This software is confidential proprietary software * */ /* * licensed by Hewlett Packard Enterprise Development, LP, and is not * */ /* * authorized to be used, duplicated or disclosed to anyone without the * */ /* * prior written permission of HPE. * */ /* * Copyright 2017 Hewlett Packard Enterprise Development, LP * */ /* * * */ /* * VMS SOFTWARE, INC. CONFIDENTIAL. This software is confidential * */ /* * proprietary software licensed by VMS Software, Inc., and is not * */ /* * authorized to be used, duplicated or disclosed to anyone without * */ /* * the prior written permission of VMS Software, Inc. * */ /* * Copyright 2017-2022 VMS Software, Inc. * */ /* * * */ /* ************************************************************************* */ #pragma __nostandard #include #ifdef __NAMESPACE_STD namespace std { #endif #ifndef __clang__ typedef int ptrdiff_t; #else typedef long ptrdiff_t; #endif #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 #ifdef __clang__ # define offsetof(t, d) __builtin_offsetof(t, d) #else # if __DECCXX_VER > 60500000 # define offsetof(__t, __memb) ((__size_t)__INTADDR__(&(((__t *)0)->__memb))) # else # define offsetof(type, identifier) ((__size_t)((__char_ptr32) & ((type *)0L)->identifier - (__char_ptr32)0L)) # endif #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 */