|
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 #ifdef _STLP_PRAGMA_ONCE |
|
30 # pragma once |
|
31 #endif |
|
32 |
|
33 #if (_STLP_OUTERMOST_HEADER_ID != 0x63) || defined (_STLP_DONT_POP_HEADER_ID) |
|
34 # include _STLP_NATIVE_HEADER(stdexcept) |
|
35 #else |
|
36 # ifndef _STLP_INTERNAL_STDEXCEPT |
|
37 # include <stl/_stdexcept.h> |
|
38 # endif |
|
39 #endif |
|
40 |
|
41 #if (_STLP_OUTERMOST_HEADER_ID == 0x63) |
|
42 # if !defined (_STLP_DONT_POP_HEADER_ID) |
|
43 # include <stl/_epilog.h> |
|
44 # undef _STLP_OUTERMOST_HEADER_ID |
|
45 # else |
|
46 # undef _STLP_DONT_POP_HEADER_ID |
|
47 # endif |
|
48 #endif |
|
49 |
|
50 #endif /* _STLP_STDEXCEPT */ |
|
51 |
|
52 // Local Variables: |
|
53 // mode:C++ |
|
54 // End: |