From 518240cd61eb90447d655745e59f027aefdea290 Mon Sep 17 00:00:00 2001 From: reuk Date: Mon, 3 Mar 2025 12:12:37 +0000 Subject: [PATCH] Zlib: Fix unknown-symbols errors when building with clang, windows, C++20/23 --- modules/juce_graphics/image_formats/juce_PNGLoader.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/modules/juce_graphics/image_formats/juce_PNGLoader.cpp b/modules/juce_graphics/image_formats/juce_PNGLoader.cpp index f718533fb6..eecf7e56d8 100644 --- a/modules/juce_graphics/image_formats/juce_PNGLoader.cpp +++ b/modules/juce_graphics/image_formats/juce_PNGLoader.cpp @@ -47,12 +47,6 @@ namespace pnglibNamespace #if JUCE_INCLUDE_PNGLIB_CODE || ! defined (JUCE_INCLUDE_PNGLIB_CODE) - #if _MSC_VER != 1310 - using std::calloc; // (causes conflict in VS.NET 2003) - using std::malloc; - using std::free; - #endif - JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wcomma", "-Wfloat-equal", "-Wimplicit-fallthrough", @@ -63,7 +57,6 @@ namespace pnglibNamespace "-Wzero-as-null-pointer-constant") #undef check - using std::abs; #define NO_DUMMY_DECL #define PNGLCONF_H 1