assert.h 1.2 KB

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