cassert 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*
  2. * Copyright (c) 1999
  3. * Boris Fomitchev
  4. *
  5. * This material is provided "as is", with absolutely no warranty expressed
  6. * or implied. Any use is at your own risk.
  7. *
  8. * Permission to use or copy this software for any purpose is hereby granted
  9. * without fee, provided the above notices are retained on all copies.
  10. * Permission to modify the code and to distribute modified code is granted,
  11. * provided the above notices are retained, and a notice that the code was
  12. * modified is included with the above copyright notice.
  13. *
  14. */
  15. #ifndef _STLP_OUTERMOST_HEADER_ID
  16. # define _STLP_OUTERMOST_HEADER_ID 0x103
  17. # include <stl/_prolog.h>
  18. #elif (_STLP_OUTERMOST_HEADER_ID == 0x103) && ! defined (_STLP_DONT_POP_HEADER_ID)
  19. # define _STLP_DONT_POP_HEADER_ID
  20. #endif
  21. #if !defined (_STLP_WCE_EVC3)
  22. # if defined (_STLP_USE_NEW_C_HEADERS)
  23. # if defined (_STLP_HAS_INCLUDE_NEXT)
  24. # include_next <cassert>
  25. # else
  26. # include _STLP_NATIVE_CPP_C_HEADER(cassert)
  27. # endif
  28. # else
  29. # include <assert.h>
  30. # endif
  31. #endif
  32. #if (_STLP_OUTERMOST_HEADER_ID == 0x103 )
  33. # if !defined (_STLP_DONT_POP_HEADER_ID)
  34. # include <stl/_epilog.h>
  35. # undef _STLP_OUTERMOST_HEADER_ID
  36. # else
  37. # undef _STLP_DONT_POP_HEADER_ID
  38. # endif
  39. #endif
  40. // Local Variables:
  41. // mode:C++
  42. // End: