imgtools/imglib/filesystem/include/mingw.inl
changeset 0 044383f39525
equal deleted inserted replaced
-1:000000000000 0:044383f39525
       
     1 /*
       
     2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 * Since the filesystem componenet is standalone, it is not using any definitions from Symbian EPOC.
       
    16 * So the inclusion of unavailable definition are much important to avoid compile time errors
       
    17 * @internalComponent
       
    18 * @released
       
    19 *
       
    20 */
       
    21 
       
    22 
       
    23 #ifndef _MINGW_INL
       
    24 #define _MINGW_INL
       
    25 
       
    26 #ifndef __LINUX__
       
    27 	#ifndef _MSC_VER
       
    28 
       
    29 		/*
       
    30 		 * TOOLS2 platform uses Mingw compiler, which does not have below definition in the compiler pre-include
       
    31 		 * file "gcc_mingw_3_4_2.h" placed at "/epoc32/include/gcc_mingw".
       
    32 		 */
       
    33 		inline void* operator new(unsigned int, void* __p) throw() { return __p; }
       
    34 	#endif
       
    35 #endif
       
    36 
       
    37 #endif //MINGW_INL