Browse Source

express: Fix vestigial reference to WIN32_VC macro

rdb 3 years ago
parent
commit
671b16eb41
1 changed files with 1 additions and 1 deletions
  1. 1 1
      panda/src/express/zipArchive.cxx

+ 1 - 1
panda/src/express/zipArchive.cxx

@@ -1060,7 +1060,7 @@ close_read_subfile(std::istream *stream) {
     // stream pointer does not call the appropriate global delete function;
     // instead apparently calling the system delete function.  So we call the
     // delete function by hand instead.
-#if !defined(WIN32_VC) && !defined(USE_MEMORY_NOWRAPPERS) && defined(REDEFINE_GLOBAL_OPERATOR_NEW)
+#if defined(__GNUC__) && !defined(USE_MEMORY_NOWRAPPERS) && defined(REDEFINE_GLOBAL_OPERATOR_NEW)
     stream->~istream();
     (*global_operator_delete)(stream);
 #else