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

MinGW: Remove support

This commit is contained in:
reuk 2024-06-26 13:55:00 +01:00
parent 8a4ec206f2
commit 9112911122
No known key found for this signature in database
GPG key ID: FCB43929F012EE5C
89 changed files with 337 additions and 1694 deletions

View file

@ -71,19 +71,6 @@ extern "C"
#include "serd/src/n3.c"
#undef TRY
// node.c will replace isnan and isinf with _isnan and _finite if the former symbols are undefined.
// MinGW declares these as normal functions rather than as preprocessor definitions, causing the build to fail.
#if defined (_WIN32) && defined (__GNUC__)
namespace Utils
{
inline int _isnan (double x) noexcept { return isnan (x); }
inline int _finite (double x) noexcept { return ! isinf (x); }
} // namespace Utils
using namespace Utils;
#endif
#include "serd/src/node.c"
#include "serd/src/reader.c"
#include "serd/src/string.c"

View file

@ -38,7 +38,7 @@
#undef PRAGMA_ALIGN_SUPPORTED
#if ! JUCE_MINGW && ! JUCE_MSVC
#if ! JUCE_MSVC
#define __cdecl
#endif
@ -71,11 +71,7 @@ JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4355)
#include "juce_VSTMidiEventList.h"
#if JUCE_MINGW
#ifndef WM_APPCOMMAND
#define WM_APPCOMMAND 0x0319
#endif
#elif ! JUCE_WINDOWS
#if ! JUCE_WINDOWS
static void _fpreset() {}
static void _clearfp() {}
#endif