| Index: Source/core/platform/audio/DenormalDisabler.h
|
| diff --git a/Source/core/platform/audio/DenormalDisabler.h b/Source/core/platform/audio/DenormalDisabler.h
|
| index 64b0d5e1dfae9cff58a7e18484498395ecbed4b9..bbceadacba94cbe5736f5a80d0726d5e1e11bb4f 100644
|
| --- a/Source/core/platform/audio/DenormalDisabler.h
|
| +++ b/Source/core/platform/audio/DenormalDisabler.h
|
| @@ -33,7 +33,7 @@ namespace WebCore {
|
| // Deal with denormals. They can very seriously impact performance on x86.
|
|
|
| // Define HAVE_DENORMAL if we support flushing denormals to zero.
|
| -#if OS(WINDOWS) && COMPILER(MSVC)
|
| +#if OS(WIN) && COMPILER(MSVC)
|
| #define HAVE_DENORMAL
|
| #endif
|
|
|
| @@ -47,7 +47,7 @@ public:
|
| DenormalDisabler()
|
| : m_savedCSR(0)
|
| {
|
| -#if OS(WINDOWS) && COMPILER(MSVC)
|
| +#if OS(WIN) && COMPILER(MSVC)
|
| // Save the current state, and set mode to flush denormals.
|
| //
|
| // http://stackoverflow.com/questions/637175/possible-bug-in-controlfp-s-may-not-restore-control-word-correctly
|
| @@ -62,7 +62,7 @@ public:
|
|
|
| ~DenormalDisabler()
|
| {
|
| -#if OS(WINDOWS) && COMPILER(MSVC)
|
| +#if OS(WIN) && COMPILER(MSVC)
|
| unsigned int unused;
|
| _controlfp_s(&unused, m_savedCSR, _MCW_DN);
|
| #else
|
| @@ -73,7 +73,7 @@ public:
|
| // This is a nop if we can flush denormals to zero in hardware.
|
| static inline float flushDenormalFloatToZero(float f)
|
| {
|
| -#if OS(WINDOWS) && COMPILER(MSVC) && (!_M_IX86_FP)
|
| +#if OS(WIN) && COMPILER(MSVC) && (!_M_IX86_FP)
|
| // For systems using x87 instead of sse, there's no hardware support
|
| // to flush denormals automatically. Hence, we need to flush
|
| // denormals to zero manually.
|
|
|