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_OUTERMOST_HEADER_ID
17
#  define _STLP_OUTERMOST_HEADER_ID 0x262
18
#  include <stl/_cprolog.h>
19
#elif (_STLP_OUTERMOST_HEADER_ID == 0x262) && ! defined (_STLP_DONT_POP_HEADER_ID)
20
#  define _STLP_DONT_POP_HEADER_ID
21
#endif
22
23
#if defined (_MSC_VER) || defined (__DMC__)
24
/* Native stddef.h contains errno macro definition making inclusion of native
25
 * errno.h in STLport errno.h impossible. We are then forced to include errno.h
26
 * first.
27
 */
28
#  include "errno.h"
29
#endif
30
31
#if defined (_STLP_HAS_INCLUDE_NEXT)
32
#  include_next <stddef.h>
33
#else
34
#  include _STLP_NATIVE_C_HEADER(stddef.h)
35
#endif
36
37
#if (_STLP_OUTERMOST_HEADER_ID == 0x262)
38
#  if ! defined (_STLP_DONT_POP_HEADER_ID)
39
#    include <stl/_epilog.h>
40
#    undef  _STLP_OUTERMOST_HEADER_ID
41
#  else
42
#    undef  _STLP_DONT_POP_HEADER_ID
43
#  endif
44
#endif