stdexcept 1.5 KB

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