Przeglądaj źródła

fix logic error in #if condition

David Rose 24 lat temu
rodzic
commit
4d22a1d7ef
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      panda/src/express/pointerToArray.h

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

@@ -74,7 +74,7 @@
 #include "pointerTo.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
 // need to chk if vc 7.0 still has this problem, would like to keep it enabled
 #pragma warning (disable : 4506)