Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenstdlib.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 /* Workaround for a "misbehaviour" when compiling resource scripts using 00017 * eMbedded Visual C++. The standard .rc file includes windows header files, 00018 * which in turn include stdlib.h, which results in warnings and errors 00019 */ 00020 #if !defined (RC_INVOKED) 00021 00022 # if !defined (_STLP_OUTERMOST_HEADER_ID) 00023 # define _STLP_OUTERMOST_HEADER_ID 0x265 00024 # include <stl/_cprolog.h> 00025 # elif (_STLP_OUTERMOST_HEADER_ID == 0x265) && !defined (_STLP_DONT_POP_HEADER_ID) 00026 # define _STLP_DONT_POP_HEADER_ID 00027 # endif 00028 00029 # if defined (_STLP_MSVC_LIB) || (defined (__GNUC__) && defined (__MINGW32__)) || \ 00030 defined (__BORLANDC__) || defined (__DMC__) || \ 00031 (defined (__HP_aCC) && defined (_REENTRANT)) 00032 /* Native stdlib.h contains errno macro definition making inclusion of native 00033 * errno.h in STLport errno.h impossible. We are then forced to include errno.h 00034 * first. 00035 */ 00036 # include "errno.h" 00037 # endif 00038 00039 /* 00040 forward-declaration for _exception struct; prevents warning message 00041 ../include/stdlib.h(817) : warning C4115: '_exception' : named type definition in parentheses 00042 */ 00043 # if defined(_STLP_WCE_EVC3) 00044 struct _exception; 00045 # endif 00046 00047 # if defined (_STLP_HAS_INCLUDE_NEXT) 00048 # include_next <stdlib.h> 00049 # else 00050 # include _STLP_NATIVE_C_HEADER(stdlib.h) 00051 # endif 00052 00053 /* on evc3/evc4 including stdlib.h also defines setjmp macro */ 00054 # if defined (_STLP_WCE) 00055 # define _STLP_NATIVE_SETJMP_H_INCLUDED 00056 # endif 00057 00058 # if (_STLP_OUTERMOST_HEADER_ID == 0x265) 00059 # if ! defined (_STLP_DONT_POP_HEADER_ID) 00060 # include <stl/_epilog.h> 00061 # undef _STLP_OUTERMOST_HEADER_ID 00062 # else 00063 # undef _STLP_DONT_POP_HEADER_ID 00064 # endif 00065 # endif 00066 00067 #endif /* RC_INVOKED */ Generated on Sat May 26 2012 04:27:27 for ReactOS by
1.7.6.1
|