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:
parent
8a4ec206f2
commit
9112911122
89 changed files with 337 additions and 1694 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue