1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/tools/stlport/exception Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,55 @@
1.4 +/*
1.5 + * Copyright (c) 1996,1997
1.6 + * Silicon Graphics Computer Systems, Inc.
1.7 + *
1.8 + * Copyright (c) 1999
1.9 + * Boris Fomitchev
1.10 + *
1.11 + * This material is provided "as is", with absolutely no warranty expressed
1.12 + * or implied. Any use is at your own risk.
1.13 + *
1.14 + * Permission to use or copy this software for any purpose is hereby granted
1.15 + * without fee, provided the above notices are retained on all copies.
1.16 + * Permission to modify the code and to distribute modified code is granted,
1.17 + * provided the above notices are retained, and a notice that the code was
1.18 + * modified is included with the above copyright notice.
1.19 + */
1.20 +
1.21 +// This header exists solely for portability. Normally it just includes
1.22 +// the native header <exception>.
1.23 +
1.24 +#ifndef _STLP_EXCEPTION
1.25 +
1.26 +#if !defined (_STLP_OUTERMOST_HEADER_ID)
1.27 +# define _STLP_OUTERMOST_HEADER_ID 0x423
1.28 +# include <stl/_prolog.h>
1.29 +#elif (_STLP_OUTERMOST_HEADER_ID == 0x423)
1.30 +# define _STLP_DONT_POP_HEADER_ID
1.31 +# define _STLP_EXCEPTION
1.32 +#endif
1.33 +
1.34 +#if (_STLP_OUTERMOST_HEADER_ID != 0x423) || defined (_STLP_DONT_POP_HEADER_ID)
1.35 +/* If we are here it means that we are in an include called
1.36 + * from the native lib which means that we can simply forward this
1.37 + * call to the native exception header:
1.38 + */
1.39 +# include _STLP_NATIVE_CPP_RUNTIME_HEADER(exception)
1.40 +#else
1.41 +# include <stl/_exception.h>
1.42 +#endif
1.43 +
1.44 +#if (_STLP_OUTERMOST_HEADER_ID == 0x423)
1.45 +# if !defined(_STLP_DONT_POP_HEADER_ID)
1.46 +# include <stl/_epilog.h>
1.47 +# undef _STLP_OUTERMOST_HEADER_ID
1.48 +# else
1.49 +# undef _STLP_DONT_POP_HEADER_ID
1.50 +# endif
1.51 +#endif
1.52 +
1.53 +#endif /* _STLP_EXCEPTION */
1.54 +
1.55 +
1.56 +// Local Variables:
1.57 +// mode:C++
1.58 +// End: