epoc32/include/tools/stlport/stl/_epilog.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/tools/stlport/stl/_epilog.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,42 @@
     1.4 +/* NOTE : this header has no guards and is MEANT for multiple inclusion!
     1.5 + * If you are using "header protection" option with your compiler,
     1.6 + * please also find #pragma which disables it and put it here, to
     1.7 + * allow reentrancy of this header.
     1.8 + */
     1.9 +
    1.10 +#ifndef _STLP_PROLOG_HEADER_INCLUDED
    1.11 +#  error STLport epilog header can not be included as long as prolog has not be included.
    1.12 +#endif
    1.13 +
    1.14 +/* If the platform provides any specific epilog actions,
    1.15 + * like #pragmas, do include platform-specific prolog file
    1.16 + */
    1.17 +#if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG)
    1.18 +#  include <stl/config/_epilog.h>
    1.19 +#endif
    1.20 +
    1.21 +#if !defined (_STLP_NO_POST_COMPATIBLE_SECTION)
    1.22 +#  include <stl/_config_compat_post.h>
    1.23 +#endif
    1.24 +
    1.25 +#if defined (_STLP_USE_OWN_NAMESPACE)
    1.26 +
    1.27 +#  if !defined (_STLP_DONT_REDEFINE_STD)
    1.28 +/*  We redefine "std" to STLPORT, so that user code may use std:: transparently
    1.29 + *  The STLPORT macro contains the STLport namespace name containing all the std
    1.30 + *  stuff.
    1.31 + */
    1.32 +#    if defined (std)
    1.33 +/*
    1.34 + * Looks like the compiler native library on which STLport rely defined the std macro.
    1.35 + * This might introduce major incompatibility so report the problem to the STLport
    1.36 + * forum or comment the following #error at your own risk.
    1.37 + */
    1.38 +#      error Incompatible native Std library.
    1.39 +#    endif /* std */
    1.40 +#    define std STLPORT
    1.41 +#  endif /* _STLP_DONT_REDEFINE_STD */
    1.42 +
    1.43 +#endif
    1.44 +
    1.45 +#undef _STLP_PROLOG_HEADER_INCLUDED /* defined in _prolog.h */