epoc32/include/gcc_mingw/gcc_mingw_3_4_2.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/gcc_mingw/gcc_mingw_3_4_2.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/gcc_mingw/gcc_mingw_3_4_2.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -1,80 +1,80 @@
     1.4 -// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1.5 -// All rights reserved.
     1.6 -// This component and the accompanying materials are made available
     1.7 -// 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
     1.8 -// which accompanies this distribution, and is available
     1.9 -// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.10 -//
    1.11 -// Initial Contributors:
    1.12 -// Nokia Corporation - initial contribution.
    1.13 -//
    1.14 -// Contributors:
    1.15 -//
    1.16 -// Description:
    1.17 -// This is the preinclude file for the MinGW GCC compiler
    1.18 -// 
    1.19 -//
    1.20 -
    1.21 -
    1.22 -
    1.23 -/**
    1.24 - @file
    1.25 - @publishedAll
    1.26 - @released
    1.27 -*/
    1.28 -
    1.29 -// compiler and STLport things first 
    1.30 -#define _STLP_THREADS
    1.31 -#define _STLP_DESIGNATED_DLL
    1.32 -
    1.33 -// Pick up relevant macros under __GCC32__, since __GCC32__ is not a valid macro for TOOLS2
    1.34 -
    1.35 -#define __NO_CLASS_CONSTS__
    1.36 -#define __NORETURN__  __attribute__ ((noreturn))
    1.37 -#ifdef __GCCV3__
    1.38 -#define __NORETURN_TERMINATOR()
    1.39 -#else
    1.40 -#define __NORETURN_TERMINATOR()		abort()
    1.41 -#endif
    1.42 -#define IMPORT_C
    1.43 -#if !defined __WINS__ && defined _WIN32 /* VC++ Browser Hack */
    1.44 -#define EXPORT_C
    1.45 -/** @internalTechnology */
    1.46 -#define asm(x)
    1.47 -#else
    1.48 -#define EXPORT_C __declspec(dllexport)
    1.49 -#endif
    1.50 -#define NONSHARABLE_CLASS(x) class x
    1.51 -#define NONSHARABLE_STRUCT(x) struct x
    1.52 -#define __NO_THROW
    1.53 -#define __DOUBLE_WORDS_SWAPPED__
    1.54 -typedef long long Int64;
    1.55 -typedef unsigned long long Uint64;
    1.56 -#define	I64LIT(x)	x##LL
    1.57 -#define	UI64LIT(x)	x##ULL
    1.58 -#define TEMPLATE_SPECIALIZATION template<>
    1.59 -#define __TText_defined
    1.60 -typedef wchar_t __TText;
    1.61 -
    1.62 -
    1.63 -#include <exception>
    1.64 -
    1.65 -// A few extras for compiling on Windows
    1.66 -//#ifdef __TOOLS2_WINDOWS__
    1.67 -//#define _STLP_LITTLE_ENDIAN
    1.68 -//#define __MINGW__
    1.69 -//#endif
    1.70 -
    1.71 -// Symbian things next ///////////////////////////////////////////////////////
    1.72 -
    1.73 -#ifdef __PRODUCT_INCLUDE__
    1.74 -#include __PRODUCT_INCLUDE__
    1.75 -#endif
    1.76 -
    1.77 -// Do not use inline new in e32cmn.h
    1.78 -#define __PLACEMENT_NEW_INLINE
    1.79 -#define __PLACEMENT_VEC_NEW_INLINE
    1.80 -// avoid e32tools/filesystem/include/mingw.inl nonsense
    1.81 -#define _MINGW_INL
    1.82 -
    1.83 -// the end of the pre-include
    1.84 +// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
    1.85 +// All rights reserved.
    1.86 +// This component and the accompanying materials are made available
    1.87 +// 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
    1.88 +// which accompanies this distribution, and is available
    1.89 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.90 +//
    1.91 +// Initial Contributors:
    1.92 +// Nokia Corporation - initial contribution.
    1.93 +//
    1.94 +// Contributors:
    1.95 +//
    1.96 +// Description:
    1.97 +// This is the preinclude file for the MinGW GCC compiler
    1.98 +// 
    1.99 +//
   1.100 +
   1.101 +
   1.102 +
   1.103 +/**
   1.104 + @file
   1.105 + @publishedAll
   1.106 + @released
   1.107 +*/
   1.108 +
   1.109 +// compiler and STLport things first 
   1.110 +#define _STLP_THREADS
   1.111 +#define _STLP_DESIGNATED_DLL
   1.112 +
   1.113 +// Pick up relevant macros under __GCC32__, since __GCC32__ is not a valid macro for TOOLS2
   1.114 +
   1.115 +#define __NO_CLASS_CONSTS__
   1.116 +#define __NORETURN__  __attribute__ ((noreturn))
   1.117 +#ifdef __GCCV3__
   1.118 +#define __NORETURN_TERMINATOR()
   1.119 +#else
   1.120 +#define __NORETURN_TERMINATOR()		abort()
   1.121 +#endif
   1.122 +#define IMPORT_C
   1.123 +#if !defined __WINS__ && defined _WIN32 /* VC++ Browser Hack */
   1.124 +#define EXPORT_C
   1.125 +/** @internalTechnology */
   1.126 +#define asm(x)
   1.127 +#else
   1.128 +#define EXPORT_C __declspec(dllexport)
   1.129 +#endif
   1.130 +#define NONSHARABLE_CLASS(x) class x
   1.131 +#define NONSHARABLE_STRUCT(x) struct x
   1.132 +#define __NO_THROW
   1.133 +#define __DOUBLE_WORDS_SWAPPED__
   1.134 +typedef long long Int64;
   1.135 +typedef unsigned long long Uint64;
   1.136 +#define	I64LIT(x)	x##LL
   1.137 +#define	UI64LIT(x)	x##ULL
   1.138 +#define TEMPLATE_SPECIALIZATION template<>
   1.139 +#define __TText_defined
   1.140 +typedef wchar_t __TText;
   1.141 +
   1.142 +
   1.143 +#include <exception>
   1.144 +
   1.145 +// A few extras for compiling on Windows
   1.146 +//#ifdef __TOOLS2_WINDOWS__
   1.147 +//#define _STLP_LITTLE_ENDIAN
   1.148 +//#define __MINGW__
   1.149 +//#endif
   1.150 +
   1.151 +// Symbian things next ///////////////////////////////////////////////////////
   1.152 +
   1.153 +#ifdef __PRODUCT_INCLUDE__
   1.154 +#include __PRODUCT_INCLUDE__
   1.155 +#endif
   1.156 +
   1.157 +// Do not use inline new in e32cmn.h
   1.158 +#define __PLACEMENT_NEW_INLINE
   1.159 +#define __PLACEMENT_VEC_NEW_INLINE
   1.160 +// avoid e32tools/filesystem/include/mingw.inl nonsense
   1.161 +#define _MINGW_INL
   1.162 +
   1.163 +// the end of the pre-include