epoc32/include/stdapis/stlportv5/stl/_epilog.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
#ifndef _STLP_PROLOG_HEADER_INCLUDED
williamr@4
     8
#  error STLport epilog header can not be included as long as prolog has not be included.
williamr@4
     9
#endif
williamr@4
    10
williamr@4
    11
/* If the platform provides any specific epilog actions,
williamr@4
    12
 * like #pragmas, do include platform-specific prolog file
williamr@4
    13
 */
williamr@4
    14
#if defined (_STLP_HAS_SPECIFIC_PROLOG_EPILOG)
williamr@4
    15
#  include <stl/config/_epilog.h>
williamr@4
    16
#endif
williamr@4
    17
williamr@4
    18
#if !defined (_STLP_NO_POST_COMPATIBLE_SECTION)
williamr@4
    19
#  include <stl/_config_compat_post.h>
williamr@4
    20
#endif
williamr@4
    21
williamr@4
    22
#if defined (_STLP_USE_OWN_NAMESPACE)
williamr@4
    23
williamr@4
    24
#  if !defined (_STLP_DONT_REDEFINE_STD)
williamr@4
    25
/*  We redefine "std" to STLPORT, so that user code may use std:: transparently
williamr@4
    26
 *  The STLPORT macro contains the STLport namespace name containing all the std
williamr@4
    27
 *  stuff.
williamr@4
    28
 */
williamr@4
    29
#    if defined (std)
williamr@4
    30
/*
williamr@4
    31
 * Looks like the compiler native library on which STLport rely defined the std macro.
williamr@4
    32
 * This might introduce major incompatibility so report the problem to the STLport
williamr@4
    33
 * forum or comment the following #error at your own risk.
williamr@4
    34
 */
williamr@4
    35
#      error Incompatible native Std library.
williamr@4
    36
#    endif /* std */
williamr@4
    37
#    define std STLPORT
williamr@4
    38
#  endif /* _STLP_DONT_REDEFINE_STD */
williamr@4
    39
williamr@4
    40
#endif
williamr@4
    41
williamr@4
    42
#undef _STLP_PROLOG_HEADER_INCLUDED /* defined in _prolog.h */
williamr@4
    43
williamr@4
    44
/*Below changes are added to make _STLP_DECLSPEC as _STLP_EXPORT_DECLSPEC at definition of the functions.
williamr@4
    45
In _prolog.h, _STLP_DECLSPEC will be defined as _STLP_IMPORT_DECLSPEC.
williamr@4
    46
*/
williamr@4
    47
#  if defined (_STLP_DESIGNATED_DLL) 
williamr@4
    48
#    if defined (_STLP_DECLSPEC)
williamr@4
    49
#	undef _STLP_DECLSPEC
williamr@4
    50
#    endif
williamr@4
    51
#    define  _STLP_DECLSPEC        _STLP_EXPORT_DECLSPEC   
williamr@4
    52
#    if defined (_STLP_CLASS_DECLSPEC)
williamr@4
    53
#	undef _STLP_CLASS_DECLSPEC
williamr@4
    54
#    endif
williamr@4
    55
#    define  _STLP_CLASS_DECLSPEC  _STLP_CLASS_EXPORT_DECLSPEC
williamr@4
    56
#  endif