williamr@4: /*
williamr@4:  * Copyright (c) 1999
williamr@4:  * Boris Fomitchev
williamr@4:  *
williamr@4:  * This material is provided "as is", with absolutely no warranty expressed
williamr@4:  * or implied. Any use is at your own risk.
williamr@4:  *
williamr@4:  * Permission to use or copy this software for any purpose is hereby granted
williamr@4:  * without fee, provided the above notices are retained on all copies.
williamr@4:  * Permission to modify the code and to distribute modified code is granted,
williamr@4:  * provided the above notices are retained, and a notice that the code was
williamr@4:  * modified is included with the above copyright notice.
williamr@4:  *
williamr@4:  */
williamr@4: 
williamr@4: #ifndef _STLP_OUTERMOST_HEADER_ID
williamr@4: #  define _STLP_OUTERMOST_HEADER_ID 0x262
williamr@4: #  include <stl/_prolog.h>
williamr@4: #elif (_STLP_OUTERMOST_HEADER_ID == 0x262) && ! defined (_STLP_DONT_POP_HEADER_ID)
williamr@4: #  define _STLP_DONT_POP_HEADER_ID
williamr@4: #endif
williamr@4: 
williamr@4: #  if defined (_MSC_VER) || defined (__DMC__)
williamr@4: /* Native stddef.h contains errno macro definition making inclusion of native
williamr@4:  * errno.h in STLport errno.h impossible. We are then forced to include errno.h
williamr@4:  * first.
williamr@4:  */
williamr@4: #    include "errno.h"
williamr@4: #  endif
williamr@4: 
williamr@4: #  include _STLP_NATIVE_C_HEADER(stddef.h)
williamr@4: 
williamr@4: #if (_STLP_OUTERMOST_HEADER_ID == 0x262)
williamr@4: #  if ! defined (_STLP_DONT_POP_HEADER_ID)
williamr@4: #    include <stl/_epilog.h>
williamr@4: #    undef  _STLP_OUTERMOST_HEADER_ID
williamr@4: #  else
williamr@4: #    undef  _STLP_DONT_POP_HEADER_ID
williamr@4: #  endif
williamr@4: #endif
williamr@4: