1/* 2 * Copyright (c) 1999 3 * Boris Fomitchev 4 * 5 * This material is provided "as is", with absolutely no warranty expressed 6 * or implied. Any use is at your own risk. 7 * 8 * Permission to use or copy this software for any purpose is hereby granted 9 * without fee, provided the above notices are retained on all copies. 10 * Permission to modify the code and to distribute modified code is granted, 11 * provided the above notices are retained, and a notice that the code was 12 * modified is included with the above copyright notice. 13 * 14 */ 15 16#ifndef _STLP_CERRNO 17#define _STLP_CERRNO 18 19#ifndef _STLP_OUTERMOST_HEADER_ID 20# define _STLP_OUTERMOST_HEADER_ID 0x105 21# include <stl/_prolog.h> 22#endif 23 24#ifndef _STLP_WCE 25# if defined (_STLP_USE_NEW_C_HEADERS) 26# if defined (_STLP_HAS_INCLUDE_NEXT) 27# include_next <cerrno> 28# else 29# include _STLP_NATIVE_CPP_C_HEADER(cerrno) 30# endif 31# else 32# include <errno.h> 33# endif 34#endif 35 36#ifndef errno /* errno is not a macro */ 37# if defined (_STLP_IMPORT_VENDOR_CSTD) 38# if !defined (__IBMCPP__) && !defined (__hpux) && !defined (__MWERKS__) && !defined (_STLP_WCE) 39_STLP_BEGIN_NAMESPACE 40using _STLP_VENDOR_CSTD::errno; 41_STLP_END_NAMESPACE 42# endif 43# endif 44#endif 45 46#if (_STLP_OUTERMOST_HEADER_ID == 0x105 ) 47# include <stl/_epilog.h> 48# undef _STLP_OUTERMOST_HEADER_ID 49#endif 50 51#endif /* _STLP_CERRNO */ 52 53// Local Variables: 54// mode:C++ 55// End: 56