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