Home | History | Annotate | Download | only in stlport
      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 
     19 #ifndef _STLP_STDEXCEPT
     20 
     21 #if !defined (_STLP_OUTERMOST_HEADER_ID)
     22 #  define _STLP_OUTERMOST_HEADER_ID 0x63
     23 #  include <stl/_prolog.h>
     24 #elif (_STLP_OUTERMOST_HEADER_ID == 0x63) && !defined (_STLP_DONT_POP_HEADER_ID)
     25 #  define _STLP_DONT_POP_HEADER_ID
     26 #  define _STLP_STDEXCEPT
     27 #endif
     28 
     29 #if (_STLP_OUTERMOST_HEADER_ID == 0x63)
     30 #  ifndef _STLP_INTERNAL_STDEXCEPT
     31 #    include <stl/_stdexcept.h>
     32 #  endif
     33 #endif
     34 
     35 #if (_STLP_OUTERMOST_HEADER_ID != 0x63) || defined (_STLP_IMPORT_VENDOR_STD)
     36 #  if defined (_STLP_HAS_INCLUDE_NEXT)
     37 #    include_next <stdexcept>
     38 #  else
     39 #    include _STLP_NATIVE_HEADER(stdexcept)
     40 #  endif
     41 #endif
     42 
     43 #if (_STLP_OUTERMOST_HEADER_ID == 0x63)
     44 #  if !defined (_STLP_DONT_POP_HEADER_ID)
     45 #    include <stl/_epilog.h>
     46 #    undef  _STLP_OUTERMOST_HEADER_ID
     47 #  else
     48 #    undef  _STLP_DONT_POP_HEADER_ID
     49 #  endif
     50 #endif
     51 
     52 #endif /* _STLP_STDEXCEPT */
     53 
     54 // Local Variables:
     55 // mode:C++
     56 // End:
     57