1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Zlib: Fix unknown-symbols errors when building with clang, windows, C++20/23

This commit is contained in:
reuk 2025-03-03 12:12:37 +00:00
parent 90695ce7b6
commit 518240cd61
No known key found for this signature in database

View file

@ -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