1*c2c66affSColin Finck /* 2*c2c66affSColin Finck * Copyright (c) 1999 3*c2c66affSColin Finck * Boris Fomitchev 4*c2c66affSColin Finck * 5*c2c66affSColin Finck * This material is provided "as is", with absolutely no warranty expressed 6*c2c66affSColin Finck * or implied. Any use is at your own risk. 7*c2c66affSColin Finck * 8*c2c66affSColin Finck * Permission to use or copy this software for any purpose is hereby granted 9*c2c66affSColin Finck * without fee, provided the above notices are retained on all copies. 10*c2c66affSColin Finck * Permission to modify the code and to distribute modified code is granted, 11*c2c66affSColin Finck * provided the above notices are retained, and a notice that the code was 12*c2c66affSColin Finck * modified is included with the above copyright notice. 13*c2c66affSColin Finck * 14*c2c66affSColin Finck */ 15*c2c66affSColin Finck 16*c2c66affSColin Finck #if !defined (_STLP_OUTERMOST_HEADER_ID) 17*c2c66affSColin Finck # define _STLP_OUTERMOST_HEADER_ID 0x278 18*c2c66affSColin Finck # include <stl/_cprolog.h> 19*c2c66affSColin Finck #elif (_STLP_OUTERMOST_HEADER_ID == 0x278) && !defined (_STLP_DONT_POP_HEADER_ID) 20*c2c66affSColin Finck # define _STLP_DONT_POP_HEADER_ID 21*c2c66affSColin Finck #endif 22*c2c66affSColin Finck 23*c2c66affSColin Finck #if !defined (_STLP_WCE_EVC3) && !defined (_STLP_NO_WCHAR_T) 24*c2c66affSColin Finck 25*c2c66affSColin Finck # if defined (__BORLANDC__) && !defined (__linux__) 26*c2c66affSColin Finck # if defined (_STLP_HAS_INCLUDE_NEXT) 27*c2c66affSColin Finck # include_next <_str.h> 28*c2c66affSColin Finck # else 29*c2c66affSColin Finck # include _STLP_NATIVE_CPP_C_HEADER(_str.h) 30*c2c66affSColin Finck # endif 31*c2c66affSColin Finck # ifdef __cplusplus 32*c2c66affSColin Finck using _STLP_VENDOR_CSTD::strlen; 33*c2c66affSColin Finck using _STLP_VENDOR_CSTD::strspn; 34*c2c66affSColin Finck # endif 35*c2c66affSColin Finck # endif 36*c2c66affSColin Finck 37*c2c66affSColin Finck # if (((__GNUC__ < 3) || ((__GNUC__ == 3) && (__GNUC_MINOR__ < 3))) && defined (__APPLE__)) || defined (__OpenBSD__) 38*c2c66affSColin Finck # if defined (_STLP_HAS_INCLUDE_NEXT) 39*c2c66affSColin Finck # include_next <stddef.h> 40*c2c66affSColin Finck # else 41*c2c66affSColin Finck # include _STLP_NATIVE_C_HEADER(stddef.h) 42*c2c66affSColin Finck # endif 43*c2c66affSColin Finck # else 44*c2c66affSColin Finck # if defined (_STLP_HAS_INCLUDE_NEXT) 45*c2c66affSColin Finck # include_next <wchar.h> 46*c2c66affSColin Finck # else 47*c2c66affSColin Finck # include _STLP_NATIVE_C_HEADER(wchar.h) 48*c2c66affSColin Finck # endif 49*c2c66affSColin Finck # endif 50*c2c66affSColin Finck #endif /* !defined (_STLP_WCE_EVC3) && !defined (_STLP_NO_WCHAR_T) */ 51*c2c66affSColin Finck 52*c2c66affSColin Finck #ifndef _STLP_INTERNAL_MBSTATE_T 53*c2c66affSColin Finck # include <stl/_mbstate_t.h> 54*c2c66affSColin Finck #endif 55*c2c66affSColin Finck 56*c2c66affSColin Finck #if (_STLP_OUTERMOST_HEADER_ID == 0x278) 57*c2c66affSColin Finck # if ! defined (_STLP_DONT_POP_HEADER_ID) 58*c2c66affSColin Finck # include <stl/_epilog.h> 59*c2c66affSColin Finck # undef _STLP_OUTERMOST_HEADER_ID 60*c2c66affSColin Finck # else 61*c2c66affSColin Finck # undef _STLP_DONT_POP_HEADER_ID 62*c2c66affSColin Finck # endif 63*c2c66affSColin Finck #endif 64*c2c66affSColin Finck 65