equal
deleted
inserted
replaced
|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Enforce ANSI compliance on Microsoft compilers in 'For loop' behaviour |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file ANSIComp.h |
|
20 @publishedAll |
|
21 @deprecated |
|
22 */ |
|
23 |
|
24 #if !defined(__ANSICOMP_H__) |
|
25 #define __ANSICOMP_H__ |
|
26 |
|
27 #if defined(__VC32__) && _MSC_VER>=1100 |
|
28 #pragma warning(disable : 4127) // warning C4127 : conditional expression is constant |
|
29 |
|
30 #define for if(false);else for // Enforce the definition of a loop variable to local scope |
|
31 |
|
32 #endif |
|
33 |
|
34 #endif // __ANSICOMP_H__ |