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

Fixed some warnings when using JUCE_SNAP_TO_ZERO on non x86 processors

This commit is contained in:
hogliux 2017-08-21 11:06:51 +01:00
parent 372bc66c9d
commit f516b97a25

View file

@ -25,7 +25,7 @@
#if JUCE_INTEL
#define JUCE_SNAP_TO_ZERO(n) if (! (n < -1.0e-8f || n > 1.0e-8f)) n = 0;
#else
#define JUCE_SNAP_TO_ZERO(n)
#define JUCE_SNAP_TO_ZERO(n) ignoreUnused (n)
#endif
//==============================================================================