epoc32/include/stdapis/stlportv5/rope
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/stdapis/stlportv5/rope	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/stdapis/stlportv5/rope	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -14,21 +14,28 @@
     1.4  #ifndef _STLP_ROPE
     1.5  #define _STLP_ROPE
     1.6  
     1.7 -# ifndef _STLP_OUTERMOST_HEADER_ID
     1.8 +#ifndef _STLP_OUTERMOST_HEADER_ID
     1.9  #  define _STLP_OUTERMOST_HEADER_ID 0x54
    1.10  #  include <stl/_prolog.h>
    1.11 -# endif
    1.12 +#endif
    1.13  
    1.14 -# ifdef _STLP_PRAGMA_ONCE
    1.15 +#ifdef _STLP_PRAGMA_ONCE
    1.16  #  pragma once
    1.17 -# endif
    1.18 +#endif
    1.19  
    1.20 -# include <stl/_rope.h>
    1.21 +#if defined (_STLP_NO_EXTENSIONS)
    1.22 +/* Comment following if you want to use rope class even if you ask for
    1.23 + * no extension.
    1.24 + */
    1.25 +#  error The rope class is a STLport extension.
    1.26 +#endif
    1.27  
    1.28 -# if (_STLP_OUTERMOST_HEADER_ID == 0x54)
    1.29 +#include <stl/_rope.h>
    1.30 +
    1.31 +#if (_STLP_OUTERMOST_HEADER_ID == 0x54)
    1.32  #  include <stl/_epilog.h>
    1.33  #  undef _STLP_OUTERMOST_HEADER_ID
    1.34 -# endif
    1.35 +#endif
    1.36  
    1.37  #endif /* _STLP_ROPE */
    1.38