src/share/vm/code/compressedStream.cpp

changeset 4721
47bc9800972c
parent 2342
5fa559508216
child 6198
55fb97c4c58d
     1.1 --- a/src/share/vm/code/compressedStream.cpp	Wed Mar 06 13:38:17 2013 -0500
     1.2 +++ b/src/share/vm/code/compressedStream.cpp	Wed Mar 06 13:46:55 2013 -0500
     1.3 @@ -195,7 +195,7 @@
     1.4  // for this block (a matching directive turns it back on later).
     1.5  // These directives can be removed once the MS VS.NET 2005
     1.6  // compiler stack overflow is fixed.
     1.7 -#if _MSC_VER >=1400 && !defined(_WIN64)
     1.8 +#if defined(_MSC_VER) && _MSC_VER >=1400 && !defined(_WIN64)
     1.9  #pragma optimize("", off)
    1.10  #pragma warning(disable: 4748)
    1.11  #endif
    1.12 @@ -276,7 +276,7 @@
    1.13    guarantee(fails == 0, "test failures");
    1.14  }
    1.15  
    1.16 -#if _MSC_VER >=1400 && !defined(_WIN64)
    1.17 +#if defined(_MSC_VER) &&_MSC_VER >=1400 && !defined(_WIN64)
    1.18  #pragma warning(default: 4748)
    1.19  #pragma optimize("", on)
    1.20  #endif

mercurial