stdexcept 1.8 KB

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