epoc32/include/stdapis/stlport/config/stl_gcce.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.
     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 
    18   
    19 // =============================================================================
    20 //	stl_gcce.h
    21 //	This is a list of settings for STLport specific to the GCCE compiler.
    22 //	Do not include this file directly.
    23 // =============================================================================
    24 
    25 # ifndef _STLP_GCCE_H
    26 #  define  _STLP_GCCE_H
    27 
    28 
    29 #ifndef __PLACEMENT_NEW_INLINE
    30 #ifndef __E32STD_H__
    31 #ifdef __cplusplus
    32 inline void * operator new(unsigned int, void *_P) throw() { return (_P); }
    33 inline void operator delete(void* /*aPtr*/, void* /*aBase*/) __NO_THROW {}
    34 #endif
    35 #define __PLACEMENT_NEW_INLINE
    36 #endif // E32STD_H
    37 #endif
    38 
    39 /*
    40 // Uncomment if member template classes are not available
    41 #if defined(__WINS__)
    42 #  define _STLP_NO_MEMBER_TEMPLATE_CLASSES   1
    43 #endif
    44 
    45 // Uncomment if partial specialization is not available
    46 #if defined(__WINS__)
    47 #  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
    48 #endif
    49 */
    50 
    51 //#warning ********** COMPILER SETTINGS **********
    52 // -----------------------------------------------------------------------------
    53 //  wstring support
    54 //  This is a bit confusing.
    55 //  * _STLP_NO_WCHAR_T inhibits the standard C wchar functions (Symbian doesn't 
    56 //    have them).
    57 //  * _STLP_HAS_WCHAR_T triggers the typedef of wstring.  It's based on wint_t,
    58 //    which isn't typedef's elsewhere, so we take care of it here.
    59 // -----------------------------------------------------------------------------
    60 
    61 #define _STLP_HAS_WCHAR_T 1
    62 #  include <wchar.h>
    63 
    64 #ifdef _WCHAR_T
    65 #warning ********** _WCHAR_T is defined **********
    66 #endif
    67 
    68 
    69 #define _STLP_LIBSTD_CPP_NO_STATIC_VAR_
    70 
    71 #endif // _STLP_GCCE_H