1.1 --- a/epoc32/include/stdapis/stlport/csetjmp Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/stdapis/stlport/csetjmp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,58 @@
1.4 -csetjmp
1.5 +/*
1.6 + * Copyright (c) 1999
1.7 + * Boris Fomitchev
1.8 + *
1.9 + * This material is provided "as is", with absolutely no warranty expressed
1.10 + * or implied. Any use is at your own risk.
1.11 + *
1.12 + * Permission to use or copy this software for any purpose is hereby granted
1.13 + * without fee, provided the above notices are retained on all copies.
1.14 + * Permission to modify the code and to distribute modified code is granted,
1.15 + * provided the above notices are retained, and a notice that the code was
1.16 + * modified is included with the above copyright notice.
1.17 + *
1.18 + */
1.19 +
1.20 +#ifndef _STLP_CSETJMP
1.21 +# define _STLP_CSETJMP
1.22 +
1.23 +# ifndef _STLP_OUTERMOST_HEADER_ID
1.24 +# define _STLP_OUTERMOST_HEADER_ID 0x111
1.25 +# include <stl/_prolog.h>
1.26 +# endif
1.27 +
1.28 +// if the macro is on, the header is already there
1.29 +# ifndef setjmp
1.30 +# if defined (_STLP_USE_NEW_C_HEADERS)
1.31 +# include _STLP_NATIVE_CPP_C_HEADER(csetjmp)
1.32 +# else
1.33 +#ifdef __SYMBIAN32__
1.34 +# include <setjmp.h>
1.35 +#else
1.36 +# include _STLP_NATIVE_C_HEADER(setjmp.h)
1.37 +#endif
1.38 +# endif
1.39 +# endif
1.40 +
1.41 +# ifdef _STLP_IMPORT_VENDOR_CSTD
1.42 +_STLP_BEGIN_NAMESPACE
1.43 +using _STLP_VENDOR_CSTD::jmp_buf;
1.44 +# ifndef _STLP_NO_CSTD_FUNCTION_IMPORTS
1.45 +# ifndef setjmp
1.46 +using _STLP_VENDOR_CSTD::setjmp;
1.47 +# endif
1.48 +using _STLP_VENDOR_CSTD::longjmp;
1.49 +# endif
1.50 +_STLP_END_NAMESPACE
1.51 +#endif /* _STLP_IMPORT_VENDOR_CSTD */
1.52 +
1.53 +# if (_STLP_OUTERMOST_HEADER_ID == 0x111 )
1.54 +# include <stl/_epilog.h>
1.55 +# undef _STLP_OUTERMOST_HEADER_ID
1.56 +# endif
1.57 +
1.58 +#endif /* _STLP_CSETJMP */
1.59 +
1.60 +// Local Variables:
1.61 +// mode:C++
1.62 +// End: