Browse Source

Fix for mingw compiler error

tags/1.9.8
falkTX 7 years ago
parent
commit
7eb1d2dd32
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp

+ 2
- 2
source/modules/juce_audio_basics/buffers/juce_FloatVectorOperations.cpp View File

@@ -1003,7 +1003,7 @@ double JUCE_CALLTYPE FloatVectorOperations::findMaximum (const double* src, int
void JUCE_CALLTYPE FloatVectorOperations::enableFlushToZeroMode (bool shouldEnable) noexcept
{
#if JUCE_USE_SSE_INTRINSICS
#if JUCE_USE_SSE_INTRINSICS && ! JUCE_MINGW
_MM_SET_FLUSH_ZERO_MODE (shouldEnable ? _MM_FLUSH_ZERO_ON : _MM_FLUSH_ZERO_OFF);
#endif
ignoreUnused (shouldEnable);
@@ -1011,7 +1011,7 @@ void JUCE_CALLTYPE FloatVectorOperations::enableFlushToZeroMode (bool shouldEnab
void JUCE_CALLTYPE FloatVectorOperations::disableDenormalisedNumberSupport() noexcept
{
#if JUCE_USE_SSE_INTRINSICS
#if JUCE_USE_SSE_INTRINSICS && ! JUCE_MINGW
const unsigned int mxcsr = _mm_getcsr();
_mm_setcsr (mxcsr | 0x8040); // add the DAZ and FZ bits
#endif


Loading…
Cancel
Save