2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met:
7 * Redistributions of source code must retain the above copyright notice, this
8 * list of conditions and the following disclaimer.
9 * Redistributions in binary form must reproduce the above copyright notice,
10 * this list of conditions and the following disclaimer in the documentation
11 * and/or other materials provided with the distribution.
12 * Neither the name of Nokia Corporation nor the names of its contributors
13 * may be used to endorse or promote products derived from this software
14 * without specific prior written permission.
16 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
17 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
20 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
22 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
23 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 // =============================================================================
33 // This is a list of settings for STLport specific to the ARM RVCT compiler.
34 // Do not include this file directly.
35 // =============================================================================
41 #ifndef __PLACEMENT_NEW_INLINE
44 inline void * operator new(unsigned int, void *_P) throw() { return (_P); }
45 inline void operator delete(void* /*aPtr*/, void* /*aBase*/) __NO_THROW {}
47 #define __PLACEMENT_NEW_INLINE
52 // Uncomment if member template classes are not available
54 # define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
57 // Uncomment if partial specialization is not available
59 # define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
63 //#warning ********** COMPILER SETTINGS **********
64 // -----------------------------------------------------------------------------
66 // This is a bit confusing.
67 // * _STLP_NO_WCHAR_T inhibits the standard C wchar functions (Symbian doesn't
69 // * _STLP_HAS_WCHAR_T triggers the typedef of wstring. It's based on wint_t,
70 // which isn't typedef's elsewhere, so we take care of it here.
71 // -----------------------------------------------------------------------------
73 #define _STLP_HAS_WCHAR_T 1
77 #warning ********** _WCHAR_T is defined **********
81 #define _STLP_LIBSTD_CPP_NO_STATIC_VAR_
83 #endif // _STLP_RVCT_H