epoc32/include/stdapis/stlport/config/stl_winscw.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_winscw.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -0,0 +1,55 @@
     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_winscw.h
    1.24 +//	This is a list of settings for STLport specific to the Metrowerks
    1.25 +//  CodeWarrior for Symbian compiler.  Do not include this file directly.
    1.26 +// =============================================================================
    1.27 +
    1.28 +#ifndef _STLP_WINSCW
    1.29 +#	define  _STLP_WINSCW
    1.30 +
    1.31 +// Uncomment if member template classes are not available
    1.32 +#if defined(__WINS__)
    1.33 +//#  define _STLP_NO_MEMBER_TEMPLATE_CLASSES   1
    1.34 +#endif
    1.35 +
    1.36 +// Uncomment if partial specialization is not available
    1.37 +#if defined(__WINS__)
    1.38 +//#  define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
    1.39 +#endif
    1.40 +
    1.41 +// -----------------------------------------------------------------------------
    1.42 +//  wstring support
    1.43 +//  This is a bit confusing.
    1.44 +//  * _STLP_NO_WCHAR_T inhibits the standard C wchar functions (Symbian doesn't 
    1.45 +//    have them).
    1.46 +//  * _STLP_HAS_WCHAR_T triggers the typedef of wstring.  It's based on wint_t,
    1.47 +//    which isn't typedef's elsewhere, so we take care of it here.
    1.48 +// -----------------------------------------------------------------------------
    1.49 +
    1.50 +#	define _STLP_HAS_WCHAR_T 1
    1.51 +#	define _STLP_WCHAR_T_IS_USHORT 1
    1.52 +#  include <wchar.h>
    1.53 +
    1.54 +
    1.55 +#define __LIBSTD_CPP_SYMBIAN32_WSD__
    1.56 +
    1.57 +//==========================================================
    1.58 +#endif  // _STLP_WINSCW