1 /* DO NOT EDIT THIS FILE. 2 3 It has been auto-edited by fixincludes from: 4 5 "fixinc/tests/inc/assert.h" 6 7 This had to be done to correct non-standard usages in the 8 original, manufacturer supplied header file. */ 9 10 #ifndef FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB 11 #define FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB 1 12 13 #ifdef __cplusplus 14 #include <stdlib.h> 15 #endif 16 #ifndef FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO 17 #define FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO 1 18 19 #include <stdio.h> 20 21 22 #if defined( AIX_ASSERT_CHECK ) 23 #ifndef __cplusplus 24 #define static_assert _Static_assert 25 #endif 26 #endif /* AIX_ASSERT_CHECK */ 27 28 29 #if defined( ALPHA___ASSERT_CHECK ) 30 extern void __assert(const char *, const char *, int); 31 #endif /* ALPHA___ASSERT_CHECK */ 32 33 34 #if defined( ALPHA_ASSERT_CHECK ) 35 #define assert(EX) ((EX) ? (void)0 : __assert(#EX, __FILE__, __LINE__)) 36 #endif /* ALPHA_ASSERT_CHECK */ 37 38 39 #if defined( BROKEN_ASSERT_STDIO_CHECK ) 40 extern FILE* stderr; 41 #endif /* BROKEN_ASSERT_STDIO_CHECK */ 42 43 44 #if defined( BROKEN_ASSERT_STDLIB_CHECK ) 45 extern void exit ( int ); 46 #endif /* BROKEN_ASSERT_STDLIB_CHECK */ 47 48 #endif /* FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDIO */ 49 50 #endif /* FIXINC_WRAP_ASSERT_H_BROKEN_ASSERT_STDLIB */ 51