1 // Copyright (c) 1997-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 "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Enforce ANSI compliance on Microsoft compilers in 'For loop' behaviour
24 #if !defined(__ANSICOMP_H__)
25 #define __ANSICOMP_H__
27 #if defined(__VC32__) && _MSC_VER>=1100
28 #pragma warning(disable : 4127) // warning C4127 : conditional expression is constant
30 #define for if(false);else for // Enforce the definition of a loop variable to local scope
34 #endif // __ANSICOMP_H__