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 0x278
18
#  include <stl/_cprolog.h>
19
#elif (_STLP_OUTERMOST_HEADER_ID == 0x278) && !defined (_STLP_DONT_POP_HEADER_ID)
20
#  define _STLP_DONT_POP_HEADER_ID
21
#endif
22
23
#if !defined (_STLP_WCE_EVC3) && !defined (_STLP_NO_WCHAR_T)
24
25
#  if defined (__BORLANDC__) && !defined (__linux__)
26
#    if defined (_STLP_HAS_INCLUDE_NEXT)
27
#      include_next <_str.h>
28
#    else
29
#      include _STLP_NATIVE_CPP_C_HEADER(_str.h)
30
#    endif
31
#    ifdef __cplusplus
32
using _STLP_VENDOR_CSTD::strlen;
33
using _STLP_VENDOR_CSTD::strspn;
34
#    endif
35
#  endif
36
37
#  if (((__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3))) && defined (__APPLE__)) || defined (__OpenBSD__)
38
#    if defined (_STLP_HAS_INCLUDE_NEXT)
39
#      include_next <stddef.h>
40
#    else
41
#      include _STLP_NATIVE_C_HEADER(stddef.h)
42
#    endif
43
#  else
44
#    if defined (_STLP_HAS_INCLUDE_NEXT)
45
#      include_next <wchar.h>
46
#    else
47
#      include _STLP_NATIVE_C_HEADER(wchar.h)
48
#    endif
49
#  endif
50
#endif /* !defined (_STLP_WCE_EVC3) && !defined (_STLP_NO_WCHAR_T) */
51
52
#ifndef _STLP_INTERNAL_MBSTATE_T
53
#  include <stl/_mbstate_t.h>
54
#endif
55
56
#if (_STLP_OUTERMOST_HEADER_ID == 0x278)
57
#  if ! defined (_STLP_DONT_POP_HEADER_ID)
58
#    include <stl/_epilog.h>
59
#    undef  _STLP_OUTERMOST_HEADER_ID
60
#  else
61
#    undef  _STLP_DONT_POP_HEADER_ID
62
#  endif
63
#endif