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
#if !defined (_STLP_OUTERMOST_HEADER_ID)
17
#  define _STLP_OUTERMOST_HEADER_ID 0x205
18
#  include <stl/_cprolog.h>
19
#elif (_STLP_OUTERMOST_HEADER_ID == 0x205) && !defined (_STLP_DONT_POP_HEADER_ID)
20
#  define _STLP_DONT_POP_HEADER_ID
21
#endif
22
23
#ifdef _STLP_WCE
24
/* only show message when directly including this file in a non-library build */
25
#  if !defined(__BUILDING_STLPORT) && (_STLP_OUTERMOST_HEADER_ID == 0x205)
26
#    pragma message("eMbedded Visual C++ 3 and .NET don't have a errno.h header; STLport won't include native errno.h here")
27
#  endif
28
#else
29
#  ifndef errno
30
#    if defined (_STLP_HAS_INCLUDE_NEXT)
31
#      include_next <errno.h>
32
#    else
33
#      include _STLP_NATIVE_C_HEADER(errno.h)
34
#    endif
35
#  endif
36
#  if defined (__BORLANDC__) && (__BORLANDC__ >= 0x590) && defined (__cplusplus)
37
_STLP_BEGIN_NAMESPACE
38
using _STLP_VENDOR_CSTD::__errno;
39
_STLP_END_NAMESPACE
40
#  endif /* errno */
41
42
#endif
43
44
#if (_STLP_OUTERMOST_HEADER_ID == 0x205)
45
#  if ! defined (_STLP_DONT_POP_HEADER_ID)
46
#    include <stl/_epilog.h>
47
#    undef  _STLP_OUTERMOST_HEADER_ID
48
#  endif
49
#  undef  _STLP_DONT_POP_HEADER_ID
50
#endif