Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenerrno.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 #if !defined (_STLP_OUTERMOST_HEADER_ID) 00017 # define _STLP_OUTERMOST_HEADER_ID 0x205 00018 # include <stl/_cprolog.h> 00019 #elif (_STLP_OUTERMOST_HEADER_ID == 0x205) && !defined (_STLP_DONT_POP_HEADER_ID) 00020 # define _STLP_DONT_POP_HEADER_ID 00021 #endif 00022 00023 #ifdef _STLP_WCE 00024 /* only show message when directly including this file in a non-library build */ 00025 # if !defined(__BUILDING_STLPORT) && (_STLP_OUTERMOST_HEADER_ID == 0x205) 00026 # pragma message("eMbedded Visual C++ 3 and .NET don't have a errno.h header; STLport won't include native errno.h here") 00027 # endif 00028 #else 00029 # ifndef errno 00030 /* We define the following macro first to guaranty the header reentrancy: */ 00031 # define _STLP_NATIVE_ERRNO_H_INCLUDED 00032 # if defined (_STLP_HAS_INCLUDE_NEXT) 00033 # include_next <errno.h> 00034 # else 00035 # include _STLP_NATIVE_C_HEADER(errno.h) 00036 # endif 00037 # if defined (__BORLANDC__) && (__BORLANDC__ >= 0x590) && defined (__cplusplus) 00038 _STLP_BEGIN_NAMESPACE 00039 using _STLP_VENDOR_CSTD::__errno; 00040 _STLP_END_NAMESPACE 00041 # endif 00042 # endif /* errno */ 00043 00044 # if !defined (_STLP_NATIVE_ERRNO_H_INCLUDED) 00045 /* If errno has been defined before inclusion of native errno.h including it from STLport errno.h 00046 * becomes impossible because if: 00047 * #define errno foo 00048 * then 00049 * #include _STLP_NATIVE_C_HEADER(errno.h) 00050 * becomes: 00051 * #include _STLP_NATIVE_C_HEADER(foo.h) 00052 * 00053 * To fix this problem you have to find where this definition comes from and include errno.h before it. 00054 */ 00055 # define errno foo 00056 # error errno has been defined before inclusion of errno.h header. 00057 # endif 00058 #endif 00059 00060 #if (_STLP_OUTERMOST_HEADER_ID == 0x205) 00061 # if ! defined (_STLP_DONT_POP_HEADER_ID) 00062 # include <stl/_epilog.h> 00063 # undef _STLP_OUTERMOST_HEADER_ID 00064 # endif 00065 # undef _STLP_DONT_POP_HEADER_ID 00066 #endif 00067 00068 /* Local Variables: 00069 * mode: C 00070 * End: 00071 */ Generated on Sun May 27 2012 04:28:46 for ReactOS by
1.7.6.1
|