1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // This is the preinclude file for the MinGW GCC compiler
26 // compiler and STLport things first
28 #define _STLP_DESIGNATED_DLL
30 // Pick up relevant macros under __GCC32__, since __GCC32__ is not a valid macro for TOOLS2
32 #define __NO_CLASS_CONSTS__
33 #define __NORETURN__ __attribute__ ((noreturn))
35 #define __NORETURN_TERMINATOR()
37 #define __NORETURN_TERMINATOR() abort()
40 #if !defined __WINS__ && defined _WIN32 /* VC++ Browser Hack */
42 /** @internalTechnology */
45 #define EXPORT_C __declspec(dllexport)
47 #define NONSHARABLE_CLASS(x) class x
48 #define NONSHARABLE_STRUCT(x) struct x
50 #define __DOUBLE_WORDS_SWAPPED__
51 typedef long long Int64;
52 typedef unsigned long long Uint64;
53 #define I64LIT(x) x##LL
54 #define UI64LIT(x) x##ULL
55 #define TEMPLATE_SPECIALIZATION template<>
56 #define __TText_defined
57 typedef wchar_t __TText;
62 // A few extras for compiling on Windows
63 //#ifdef __TOOLS2_WINDOWS__
64 //#define _STLP_LITTLE_ENDIAN
68 // Symbian things next ///////////////////////////////////////////////////////
70 #ifdef __PRODUCT_INCLUDE__
71 #include __PRODUCT_INCLUDE__
74 // Do not use inline new in e32cmn.h
75 #define __PLACEMENT_NEW_INLINE
76 #define __PLACEMENT_VEC_NEW_INLINE
77 // avoid e32tools/filesystem/include/mingw.inl nonsense
80 // the end of the pre-include