genericopenlibs/cppstdlib/stl/stlport/stl/_prolog.h
changeset 31 ce057bb09d0b
child 34 5fae379060a7
equal deleted inserted replaced
30:e20de85af2ee 31:ce057bb09d0b
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 /* NOTE : this header has no guards and is MEANT for multiple inclusion!
       
    18  * If you are using "header protection" option with your compiler,
       
    19  * please also find #pragma which disables it and put it here, to
       
    20  * allow reentrancy of this header.
       
    21  */
       
    22 
       
    23 #ifdef std
       
    24 #  undef std /* We undef "std" on entry , as STLport headers may include native ones. */
       
    25 #endif
       
    26 
       
    27 #ifdef _STLP_PROLOG_HEADER_INCLUDED
       
    28 #  error STlport prolog header can not be reincluded as long as epilog has not be included.
       
    29 #endif
       
    30 
       
    31 #define _STLP_PROLOG_HEADER_INCLUDED
       
    32 
       
    33 #ifndef _STLP_FEATURES_H
       
    34 #  include <stl/config/features.h>
       
    35 #endif
       
    36 
       
    37 /* If the platform provides any specific prolog actions,
       
    38  * like #pragmas, do include platform-specific prolog file */
       
    39 #if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG)
       
    40 #  include <stl/config/_prolog.h>
       
    41 #endif
       
    42 
       
    43 #  if defined (_STLP_DESIGNATED_DLL) /* This is a lib which will contain STLport exports */
       
    44 #    if defined (_STLP_DECLSPEC)
       
    45 #	undef _STLP_DECLSPEC
       
    46 #    endif
       
    47 #      if (__ARMCC_VERSION >= 220435 && __ARMCC_VERSION < 230000)
       
    48 #        define  _STLP_DECLSPEC        _STLP_EXPORT_DECLSPEC   //RVCT 2.2 requires __declspec(dllexport) at declaration!
       
    49 #      else
       
    50 #        define  _STLP_DECLSPEC        _STLP_IMPORT_DECLSPEC   //RVCT 3.1 requires __declspec(dllimport) at declaration.
       
    51 #      endif
       
    52 #    if defined (_STLP_CLASS_DECLSPEC)
       
    53 #	undef _STLP_CLASS_DECLSPEC
       
    54 #    endif
       
    55 #    define  _STLP_CLASS_DECLSPEC  _STLP_CLASS_IMPORT_DECLSPEC
       
    56 #  endif