1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/stlport/config/stl_rvct.h Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,83 @@
1.4 +/*
1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
1.6 +
1.7 +* Redistribution and use in source and binary forms, with or without
1.8 +* modification, are permitted provided that the following conditions are met:
1.9 +
1.10 +* Redistributions of source code must retain the above copyright notice, this
1.11 +* list of conditions and the following disclaimer.
1.12 +* Redistributions in binary form must reproduce the above copyright notice,
1.13 +* this list of conditions and the following disclaimer in the documentation
1.14 +* and/or other materials provided with the distribution.
1.15 +* Neither the name of Nokia Corporation nor the names of its contributors
1.16 +* may be used to endorse or promote products derived from this software
1.17 +* without specific prior written permission.
1.18 +
1.19 +* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1.20 +* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
1.21 +* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
1.22 +* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
1.23 +* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
1.24 +* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
1.25 +* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
1.26 +* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
1.27 +* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1.28 +* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1.29 +*
1.30 +* Description:
1.31 +*
1.32 +*/
1.33 +
1.34 +// =============================================================================
1.35 +// stl_rvct.h
1.36 +// This is a list of settings for STLport specific to the ARM RVCT compiler.
1.37 +// Do not include this file directly.
1.38 +// =============================================================================
1.39 +
1.40 +# ifndef _STLP_RVCT_H
1.41 +# define _STLP_RVCT_H
1.42 +
1.43 +
1.44 +#ifndef __PLACEMENT_NEW_INLINE
1.45 +#ifndef __E32STD_H__
1.46 +#ifdef __cplusplus
1.47 +inline void * operator new(unsigned int, void *_P) throw() { return (_P); }
1.48 +inline void operator delete(void* /*aPtr*/, void* /*aBase*/) __NO_THROW {}
1.49 +#endif
1.50 +#define __PLACEMENT_NEW_INLINE
1.51 +#endif // E32STD_H
1.52 +#endif
1.53 +
1.54 +/*
1.55 +// Uncomment if member template classes are not available
1.56 +#if defined(__WINS__)
1.57 +# define _STLP_NO_MEMBER_TEMPLATE_CLASSES 1
1.58 +#endif
1.59 +
1.60 +// Uncomment if partial specialization is not available
1.61 +#if defined(__WINS__)
1.62 +# define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION 1
1.63 +#endif
1.64 +*/
1.65 +
1.66 +//#warning ********** COMPILER SETTINGS **********
1.67 +// -----------------------------------------------------------------------------
1.68 +// wstring support
1.69 +// This is a bit confusing.
1.70 +// * _STLP_NO_WCHAR_T inhibits the standard C wchar functions (Symbian doesn't
1.71 +// have them).
1.72 +// * _STLP_HAS_WCHAR_T triggers the typedef of wstring. It's based on wint_t,
1.73 +// which isn't typedef's elsewhere, so we take care of it here.
1.74 +// -----------------------------------------------------------------------------
1.75 +
1.76 +#define _STLP_HAS_WCHAR_T 1
1.77 +# include <wchar.h>
1.78 +
1.79 +#ifdef _WCHAR_T
1.80 +#warning ********** _WCHAR_T is defined **********
1.81 +#endif
1.82 +
1.83 +
1.84 +#define _STLP_LIBSTD_CPP_NO_STATIC_VAR_
1.85 +
1.86 +#endif // _STLP_RVCT_H