diff -r e1b950c65cb4 -r 837f303aceeb epoc32/include/stdapis/stlportv5/slist --- a/epoc32/include/stdapis/stlportv5/slist Wed Mar 31 12:27:01 2010 +0100 +++ b/epoc32/include/stdapis/stlportv5/slist Wed Mar 31 12:33:34 2010 +0100 @@ -15,27 +15,37 @@ #ifndef _STLP_SLIST #define _STLP_SLIST -# ifndef _STLP_OUTERMOST_HEADER_ID +#ifndef _STLP_OUTERMOST_HEADER_ID # define _STLP_OUTERMOST_HEADER_ID 0x58 # include -# endif +#endif -# ifdef _STLP_PRAGMA_ONCE +#ifdef _STLP_PRAGMA_ONCE # pragma once -# endif +#endif + +#if defined (_STLP_NO_EXTENSIONS) +/* Comment following if you want to use the slist constainer even if you ask for + * no extension. + */ +# error The slist class is an STLport extension. +#endif #ifndef _STLP_INTERNAL_SLIST_H -# include +# include #endif -#if defined (_STLP_WHOLE_VENDOR_STD) -# include _STLP_NATIVE_HEADER(slist) +#if defined (_STLP_IMPORT_VENDOR_STD) +//This is not a Standard header, it might failed for most of +//the compilers so we comment it for the moment. Should be uncommented +//on a compiler basis. +//# include _STLP_NATIVE_HEADER(slist) #endif -# if (_STLP_OUTERMOST_HEADER_ID == 0x58) +#if (_STLP_OUTERMOST_HEADER_ID == 0x58) # include # undef _STLP_OUTERMOST_HEADER_ID -# endif +#endif #endif /* _STLP_SLIST */