err=TIFFReadDirEntryCheckedLong8(tif,direntry,&m);
if (err!=TIFFReadDirEntryErrOk)
return(err);
-#if defined(__WIN32__) && (_MSC_VER < 1500)
+#if defined(__WIN32__) && defined(_MSC_VER) && (_MSC_VER < 1500)
/*
* XXX: MSVC 6.0 does not support conversion
* of 64-bit integers into floating point
err=TIFFReadDirEntryCheckedLong8(tif,direntry,&m);
if (err!=TIFFReadDirEntryErrOk)
return(err);
-#if defined(__WIN32__) && (_MSC_VER < 1500)
+#if defined(__WIN32__) && defined(_MSC_VER) && (_MSC_VER < 1500)
/*
* XXX: MSVC 6.0 does not support conversion
* of 64-bit integers into floating point
{
if (tif->tif_flags&TIFF_SWAB)
TIFFSwabLong8(ma);
-#if defined(__WIN32__) && (_MSC_VER < 1500)
+#if defined(__WIN32__) && defined(_MSC_VER) && (_MSC_VER < 1500)
/*
* XXX: MSVC 6.0 does not support
* conversion of 64-bit integers into
{
if (tif->tif_flags&TIFF_SWAB)
TIFFSwabLong8(ma);
-#if defined(__WIN32__) && (_MSC_VER < 1500)
+#if defined(__WIN32__) && defined(_MSC_VER) && (_MSC_VER < 1500)
/*
* XXX: MSVC 6.0 does not support
* conversion of 64-bit integers into