commit 42444114f0e3cd7f6018e329e9dd469c713699ef Author: Hib Eris Date: Sun Dec 21 17:35:43 2008 +0100 Fix compile warnings on ignored pragma with mingw compiler diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc index 20ec1bf..fea59f3 100644 --- a/poppler/Gfx.cc +++ b/poppler/Gfx.cc @@ -110,7 +110,7 @@ // Operator table //------------------------------------------------------------------------ -#ifdef WIN32 // this works around a bug in the VC7 compiler +#ifdef _MSC_VER // this works around a bug in the VC7 compiler # pragma optimize("",off) #endif @@ -283,7 +283,7 @@ Operator Gfx::opTab[] = { &Gfx::opCurveTo2}, }; -#ifdef WIN32 // this works around a bug in the VC7 compiler +#ifdef _MSC_VER // this works around a bug in the VC7 compiler # pragma optimize("",on) #endif