epoc32/include/stdapis/stlport/config/stl_gcce.h
branchSymbian3
changeset 4 837f303aceeb
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/config/stl_gcce.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,71 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +*
    1.19 +*/
    1.20 +
    1.21 +  
    1.22 +// =============================================================================
    1.23 +//	stl_gcce.h
    1.24 +//	This is a list of settings for STLport specific to the GCCE compiler.
    1.25 +//	Do not include this file directly.
    1.26 +// =============================================================================
    1.27 +
    1.28 +# ifndef _STLP_GCCE_H
    1.29 +#  define  _STLP_GCCE_H
    1.30 +
    1.31 +
    1.32 +#ifndef __PLACEMENT_NEW_INLINE
    1.33 +#ifndef __E32STD_H__
    1.34 +#ifdef __cplusplus
    1.35 +inline void * operator new(unsigned int, void *_P) throw() { return (_P); }
    1.36 +inline void operator delete(void* /*aPtr*/, void* /*aBase*/) __NO_THROW {}
    1.37 +#endif
    1.38 +#define __PLACEMENT_NEW_INLINE
    1.39 +#endif // E32STD_H
    1.40 +#endif
    1.41 +
    1.42 +/*
    1.43 +// Uncomment if member template classes are not available
    1.44 +#if defined(__WINS__)
    1.45 +#  define _STLP_NO_MEMBER_TEMPLATE_CLASSES   1
    1.46 +#endif
    1.47 +
    1.48 +// Uncomment if partial specialization is not available
    1.49 +#if defined(__WINS__)
    1.50 +#  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
    1.51 +#endif
    1.52 +*/
    1.53 +
    1.54 +//#warning ********** COMPILER SETTINGS **********
    1.55 +// -----------------------------------------------------------------------------
    1.56 +//  wstring support
    1.57 +//  This is a bit confusing.
    1.58 +//  * _STLP_NO_WCHAR_T inhibits the standard C wchar functions (Symbian doesn't 
    1.59 +//    have them).
    1.60 +//  * _STLP_HAS_WCHAR_T triggers the typedef of wstring.  It's based on wint_t,
    1.61 +//    which isn't typedef's elsewhere, so we take care of it here.
    1.62 +// -----------------------------------------------------------------------------
    1.63 +
    1.64 +#define _STLP_HAS_WCHAR_T 1
    1.65 +#  include <wchar.h>
    1.66 +
    1.67 +#ifdef _WCHAR_T
    1.68 +#warning ********** _WCHAR_T is defined **********
    1.69 +#endif
    1.70 +
    1.71 +
    1.72 +#define _STLP_LIBSTD_CPP_NO_STATIC_VAR_
    1.73 +
    1.74 +#endif // _STLP_GCCE_H