epoc32/include/stdapis/stlportv5/stl/_prolog.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/stlportv5/stl/_prolog.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,40 @@
     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 +#ifdef std
    1.11 +#  undef std /* We undef "std" on entry , as STLport headers may include native ones. */
    1.12 +#endif
    1.13 +
    1.14 +#ifdef _STLP_PROLOG_HEADER_INCLUDED
    1.15 +#  error STlport prolog header can not be reincluded as long as epilog has not be included.
    1.16 +#endif
    1.17 +
    1.18 +#define _STLP_PROLOG_HEADER_INCLUDED
    1.19 +
    1.20 +#ifndef _STLP_FEATURES_H
    1.21 +#  include <stl/config/features.h>
    1.22 +#endif
    1.23 +
    1.24 +/* If the platform provides any specific prolog actions,
    1.25 + * like #pragmas, do include platform-specific prolog file */
    1.26 +#if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG)
    1.27 +#  include <stl/config/_prolog.h>
    1.28 +#endif
    1.29 +
    1.30 +#  if defined (_STLP_DESIGNATED_DLL) /* This is a lib which will contain STLport exports */
    1.31 +#    if defined (_STLP_DECLSPEC)
    1.32 +#	undef _STLP_DECLSPEC
    1.33 +#    endif
    1.34 +#      if (__ARMCC_VERSION >= 220435 && __ARMCC_VERSION < 230000)
    1.35 +#        define  _STLP_DECLSPEC        _STLP_EXPORT_DECLSPEC   //RVCT 2.2 requires __declspec(dllexport) at declaration!
    1.36 +#      else
    1.37 +#        define  _STLP_DECLSPEC        _STLP_IMPORT_DECLSPEC   //RVCT 3.1 requires __declspec(dllimport) at declaration.
    1.38 +#      endif
    1.39 +#    if defined (_STLP_CLASS_DECLSPEC)
    1.40 +#	undef _STLP_CLASS_DECLSPEC
    1.41 +#    endif
    1.42 +#    define  _STLP_CLASS_DECLSPEC  _STLP_CLASS_IMPORT_DECLSPEC
    1.43 +#  endif