Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygen_csetjmp.h
Go to the documentation of this file.
00001 /* 00002 * Copyright (c) 1999 00003 * Boris Fomitchev 00004 * 00005 * This material is provided "as is", with absolutely no warranty expressed 00006 * or implied. Any use is at your own risk. 00007 * 00008 * Permission to use or copy this software for any purpose is hereby granted 00009 * without fee, provided the above notices are retained on all copies. 00010 * Permission to modify the code and to distribute modified code is granted, 00011 * provided the above notices are retained, and a notice that the code was 00012 * modified is included with the above copyright notice. 00013 * 00014 */ 00015 00016 #ifndef _STLP_INTERNAL_CSETJMP 00017 #define _STLP_INTERNAL_CSETJMP 00018 00019 // if the macro is on, the header is already there 00020 #if !defined (setjmp) 00021 # if defined (_STLP_USE_NEW_C_HEADERS) 00022 # if defined (_STLP_HAS_INCLUDE_NEXT) 00023 # include_next <csetjmp> 00024 # else 00025 # include _STLP_NATIVE_CPP_C_HEADER(csetjmp) 00026 # endif 00027 # else 00028 # include <setjmp.h> 00029 # endif 00030 #endif 00031 00032 #if defined (_STLP_IMPORT_VENDOR_CSTD) 00033 00034 # if defined (__BORLANDC__) && defined (_STLP_USE_NEW_C_HEADERS) 00035 /* For Borland, even if stdjmp.h is included symbols won't be in global namespace 00036 * so we need to reach them in vendor namespace: 00037 */ 00038 # undef _STLP_NATIVE_SETJMP_H_INCLUDED 00039 # endif 00040 00041 _STLP_BEGIN_NAMESPACE 00042 # if !defined (_STLP_NATIVE_SETJMP_H_INCLUDED) 00043 using _STLP_VENDOR_CSTD::jmp_buf; 00044 # else 00045 // if setjmp.h was included first, this is in global namespace, not in 00046 // vendor's std. - 2005-08-04, ptr 00047 using ::jmp_buf; 00048 # endif 00049 # if !defined (_STLP_NO_CSTD_FUNCTION_IMPORTS) 00050 # if !defined (setjmp) 00051 # if !defined (__MSL__) || ((__MSL__ > 0x7001) && (__MSL__ < 0x8000)) 00052 # ifndef _STLP_NATIVE_SETJMP_H_INCLUDED 00053 using _STLP_VENDOR_CSTD::setjmp; 00054 # else 00055 using ::setjmp; 00056 # endif 00057 # endif 00058 # endif 00059 # if !defined (_STLP_NATIVE_SETJMP_H_INCLUDED) 00060 using _STLP_VENDOR_CSTD::longjmp; 00061 # else 00062 using ::longjmp; 00063 # endif 00064 # endif 00065 _STLP_END_NAMESPACE 00066 #endif /* _STLP_IMPORT_VENDOR_CSTD */ 00067 00068 #endif Generated on Sun May 27 2012 04:28:51 for ReactOS by
1.7.6.1
|