/home/ntakagi/work/STLport-5.1.5/stlport/stdio.hGo 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 stdarg.h, which results in warnings and errors 00019 */ 00020 #if !defined(RC_INVOKED) 00021 00022 # ifndef _STLP_OUTERMOST_HEADER_ID 00023 # define _STLP_OUTERMOST_HEADER_ID 0x264 00024 # include <stl/_prolog.h> 00025 # elif (_STLP_OUTERMOST_HEADER_ID == 0x264) && !defined (_STLP_DONT_POP_HEADER_ID) 00026 # define _STLP_DONT_POP_HEADER_ID 00027 # endif 00028 00029 # if defined(_STLP_WCE_EVC3) 00030 struct _exception; 00031 # endif 00032 # include _STLP_NATIVE_C_HEADER(stdio.h) 00033 00034 # if defined (__SUNPRO_CC) && !defined (_STRUCT_FILE) 00035 # define _STRUCT_FILE 00036 # endif 00037 00038 # if (defined (__MWERKS__) && !defined (N_PLAT_NLM)) || defined (__BORLANDC__) 00039 # undef stdin 00040 # undef stdout 00041 # undef stderr 00042 # if defined (__MWERKS__) 00043 # define stdin (&_STLP_VENDOR_CSTD::__files[0]) 00044 # define stdout (&_STLP_VENDOR_CSTD::__files[1]) 00045 # define stderr (&_STLP_VENDOR_CSTD::__files[2]) 00046 # elif defined (__BORLANDC__) 00047 # define stdin (&_STLP_VENDOR_CSTD::_streams[0]) 00048 # define stdout (&_STLP_VENDOR_CSTD::_streams[1]) 00049 # define stderr (&_STLP_VENDOR_CSTD::_streams[2]) 00050 # endif 00051 # endif 00052 00053 # if (_STLP_OUTERMOST_HEADER_ID == 0x264) 00054 # if !defined (_STLP_DONT_POP_HEADER_ID) 00055 # include <stl/_epilog.h> 00056 # undef _STLP_OUTERMOST_HEADER_ID 00057 # else 00058 # undef _STLP_DONT_POP_HEADER_ID 00059 # endif 00060 # endif 00061 00062 #endif /* RC_INVOKED */
Generated on Mon Mar 10 15:32:18 2008 by ![]() |