fixed ifdef around vis c++ pragma
This commit is contained in:
@@ -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 <sys/types.h>
|
||||
|
||||
#if _MSC_VER <= 1200
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1200
|
||||
#pragma warning (disable:4786)
|
||||
#endif
|
||||
#include <vector>
|
||||
|
||||
@@ -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 <class PV>
|
||||
gddAppFuncTableStatus gddAppFuncTable<PV>::installReadFuncVISC50(
|
||||
const unsigned type, gddAppFuncTablePMF(pMFuncIn))
|
||||
@@ -243,7 +246,7 @@ gddAppFuncTableStatus gddAppFuncTable<PV>::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<PV>::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
|
||||
|
||||
Reference in New Issue
Block a user