diff -r 666f914201fb -r 2fe1408b6811 epoc32/include/stdapis/stlport/csetjmp --- a/epoc32/include/stdapis/stlport/csetjmp Tue Nov 24 13:55:44 2009 +0000 +++ b/epoc32/include/stdapis/stlport/csetjmp Tue Mar 16 16:12:26 2010 +0000 @@ -1,1 +1,58 @@ -csetjmp +/* + * Copyright (c) 1999 + * Boris Fomitchev + * + * This material is provided "as is", with absolutely no warranty expressed + * or implied. Any use is at your own risk. + * + * Permission to use or copy this software for any purpose is hereby granted + * without fee, provided the above notices are retained on all copies. + * Permission to modify the code and to distribute modified code is granted, + * provided the above notices are retained, and a notice that the code was + * modified is included with the above copyright notice. + * + */ + +#ifndef _STLP_CSETJMP +# define _STLP_CSETJMP + +# ifndef _STLP_OUTERMOST_HEADER_ID +# define _STLP_OUTERMOST_HEADER_ID 0x111 +# include +# endif + +// if the macro is on, the header is already there +# ifndef setjmp +# if defined (_STLP_USE_NEW_C_HEADERS) +# include _STLP_NATIVE_CPP_C_HEADER(csetjmp) +# else +#ifdef __SYMBIAN32__ +# include +#else +# include _STLP_NATIVE_C_HEADER(setjmp.h) +#endif +# endif +# endif + +# ifdef _STLP_IMPORT_VENDOR_CSTD +_STLP_BEGIN_NAMESPACE +using _STLP_VENDOR_CSTD::jmp_buf; +# ifndef _STLP_NO_CSTD_FUNCTION_IMPORTS +# ifndef setjmp +using _STLP_VENDOR_CSTD::setjmp; +# endif +using _STLP_VENDOR_CSTD::longjmp; +# endif +_STLP_END_NAMESPACE +#endif /* _STLP_IMPORT_VENDOR_CSTD */ + +# if (_STLP_OUTERMOST_HEADER_ID == 0x111 ) +# include +# undef _STLP_OUTERMOST_HEADER_ID +# endif + +#endif /* _STLP_CSETJMP */ + +// Local Variables: +// mode:C++ +// End: