#ifndef __ASSERT_LOADED #define __ASSERT_LOADED /**************************************************************************** ** ** - Program Diagnostics ** ***************************************************************************** ** Header introduced by the ANSI C Standard ***************************************************************************** ** ** Copyright 2000 Compaq Computer Corporation ** ** Compaq and the Compaq logo Registered in U.S. Patent and Trademark Office. ** ** Confidential computer software. Valid license from Compaq 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. ** ****************************************************************************** */ #pragma __nostandard #include #ifdef __cplusplus extern "C" { #endif /* ** If the user has used /pointer_size=short or /pointer_size=long, we will ** allow long pointers to be used in function calls. */ #if __INITIAL_POINTER_SIZE # pragma __pointer_size __save # pragma __pointer_size 64 #endif /* ** Function prototypes */ void __assert (char *__expr, char *__file, int __line); /* ** Define an assert macro based on NDEBUG and __STDC__ */ #undef assert #ifdef NDEBUG # define assert(ignore) ((void) 0) #else # if !defined (__STDC__) && !defined (__cplusplus) # define assert(expr) ((expr)?(void)0:(__assert("expr",__FILE__,__LINE__))) # else # define assert(expr) ((expr)?(void)0:(__assert(#expr,__FILE__,__LINE__))) # endif #endif /* ** Restore the users pointer context */ #if __INITIAL_POINTER_SIZE # pragma __pointer_size __restore #endif #ifdef __cplusplus } #endif #pragma __standard #endif /* __ASSERT_LOADED */