mirror of
https://github.com/ENSL/NS.git
synced 2025-03-01 07:01:33 +00:00
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@141 67975925-1194-0748-b3d5-c16f83f1a3a1
54 lines
1.4 KiB
Text
54 lines
1.4 KiB
Text
/*
|
|
* 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 <stl/_prolog.h>
|
|
# 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
|
|
# include _STLP_NATIVE_C_HEADER(setjmp.h)
|
|
# 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 <stl/_epilog.h>
|
|
# undef _STLP_OUTERMOST_HEADER_ID
|
|
# endif
|
|
|
|
#endif /* _STLP_CSETJMP */
|
|
|
|
// Local Variables:
|
|
// mode:C++
|
|
// End:
|