Browse Source

fix logic error in #if condition

David Rose 24 years ago
parent
commit
4d22a1d7ef
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/express/pointerToArray.h

+ 1 - 1
panda/src/express/pointerToArray.h

@@ -74,7 +74,7 @@
 #include "pointerTo.h"
 #include "pointerTo.h"
 #include "pvector.h"
 #include "pvector.h"
 
 
-#if defined(WIN32_VC) || !defined(__INTEL_COMPILER)
+#if defined(WIN32_VC) && !defined(__INTEL_COMPILER)
 // disable mysterious MSVC warning for static inline PTA::empty_array method
 // disable mysterious MSVC warning for static inline PTA::empty_array method
 // need to chk if vc 7.0 still has this problem, would like to keep it enabled
 // need to chk if vc 7.0 still has this problem, would like to keep it enabled
 #pragma warning (disable : 4506)
 #pragma warning (disable : 4506)