From 671b16eb416c40c1982efe19a33e282ed7454a86 Mon Sep 17 00:00:00 2001 From: rdb Date: Tue, 10 May 2022 16:21:40 +0200 Subject: [PATCH] express: Fix vestigial reference to WIN32_VC macro --- panda/src/express/zipArchive.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/express/zipArchive.cxx b/panda/src/express/zipArchive.cxx index 94fa0a2533..06bd4f9e28 100644 --- a/panda/src/express/zipArchive.cxx +++ b/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