epoc32/include/stdapis/stlportv5/stl/_prolog.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
/* NOTE : this header has no guards and is MEANT for multiple inclusion!
williamr@4
     2
 * If you are using "header protection" option with your compiler,
williamr@4
     3
 * please also find #pragma which disables it and put it here, to
williamr@4
     4
 * allow reentrancy of this header.
williamr@4
     5
 */
williamr@4
     6
williamr@4
     7
#ifdef std
williamr@4
     8
#  undef std /* We undef "std" on entry , as STLport headers may include native ones. */
williamr@4
     9
#endif
williamr@4
    10
williamr@4
    11
#ifdef _STLP_PROLOG_HEADER_INCLUDED
williamr@4
    12
#  error STlport prolog header can not be reincluded as long as epilog has not be included.
williamr@4
    13
#endif
williamr@4
    14
williamr@4
    15
#define _STLP_PROLOG_HEADER_INCLUDED
williamr@4
    16
williamr@4
    17
#ifndef _STLP_FEATURES_H
williamr@4
    18
#  include <stl/config/features.h>
williamr@4
    19
#endif
williamr@4
    20
williamr@4
    21
/* If the platform provides any specific prolog actions,
williamr@4
    22
 * like #pragmas, do include platform-specific prolog file */
williamr@4
    23
#if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG)
williamr@4
    24
#  include <stl/config/_prolog.h>
williamr@4
    25
#endif
williamr@4
    26
williamr@4
    27
#  if defined (_STLP_DESIGNATED_DLL) /* This is a lib which will contain STLport exports */
williamr@4
    28
#    if defined (_STLP_DECLSPEC)
williamr@4
    29
#	undef _STLP_DECLSPEC
williamr@4
    30
#    endif
williamr@4
    31
#      if (__ARMCC_VERSION >= 220435 && __ARMCC_VERSION < 230000)
williamr@4
    32
#        define  _STLP_DECLSPEC        _STLP_EXPORT_DECLSPEC   //RVCT 2.2 requires __declspec(dllexport) at declaration!
williamr@4
    33
#      else
williamr@4
    34
#        define  _STLP_DECLSPEC        _STLP_IMPORT_DECLSPEC   //RVCT 3.1 requires __declspec(dllimport) at declaration.
williamr@4
    35
#      endif
williamr@4
    36
#    if defined (_STLP_CLASS_DECLSPEC)
williamr@4
    37
#	undef _STLP_CLASS_DECLSPEC
williamr@4
    38
#    endif
williamr@4
    39
#    define  _STLP_CLASS_DECLSPEC  _STLP_CLASS_IMPORT_DECLSPEC
williamr@4
    40
#  endif