diff --git a/src/gdd/aitConvert.h b/src/gdd/aitConvert.h index 9722747d0..d8d4a22ef 100644 --- a/src/gdd/aitConvert.h +++ b/src/gdd/aitConvert.h @@ -8,6 +8,9 @@ * $Id$ * * $Log$ + * Revision 1.8 1999/10/29 00:41:32 jhill + * disable microslock warning + * * Revision 1.7 1999/10/28 23:33:41 jhill * use fully qualified namespace names for C++ RTL classes * @@ -37,7 +40,7 @@ #include -#if _MSC_VER <= 1200 +#if defined(_MSC_VER) && _MSC_VER < 1200 #pragma warning (disable:4786) #endif #include diff --git a/src/gdd/gddAppFuncTable.h b/src/gdd/gddAppFuncTable.h index 9973080ec..4da2ab53d 100644 --- a/src/gdd/gddAppFuncTable.h +++ b/src/gdd/gddAppFuncTable.h @@ -29,6 +29,9 @@ * * History * $Log$ + * Revision 1.11 2000/03/08 16:12:08 jhill + * fixed gnu version test + * * Revision 1.10 1999/04/30 00:11:12 jhill * removed redundant code * @@ -143,7 +146,7 @@ public: // workaround for bug existing only in microsloth vis c++ 5.0. // (in this version we are unable to overload installReadFunc()) // -#if _MSC_VER == 1100 +#if defined(_MSC_VER) && _MSC_VER < 1100 gddAppFuncTableStatus installReadFuncVISC50 (const unsigned type, gddAppFuncTablePMF(pMFuncIn)); #else @@ -193,7 +196,7 @@ private: // A typedef is not used here because of portability // problems resulting from compiler weaknesses // -#if _MSC_VER == 1100 +#if defined(_MSC_VER) && _MSC_VER < 1100 template gddAppFuncTableStatus gddAppFuncTable::installReadFuncVISC50( const unsigned type, gddAppFuncTablePMF(pMFuncIn)) @@ -243,7 +246,7 @@ gddAppFuncTableStatus gddAppFuncTable::installReadFunc( printf("installing PV attribute %s = %d\n", pName, type); # endif -#if _MSC_VER == 1100 +#if defined(_MSC_VER) && _MSC_VER < 1100 return this->installReadFuncVISC50(type, pMFuncIn); #else return this->installReadFunc(type, pMFuncIn); @@ -270,7 +273,7 @@ void gddAppFuncTable::newTbl(unsigned newApplTypeMax) return; } maxApp = newApplTypeMax+(1u<<6u); -# if defined(_MSC_VER) +# if defined(_MSC_VER) && _MSC_VER < 1100 // // MS Visual C++ 5.0 (_MSC_VER==1100) or lower // compilers allocate the wrong amount of memory