Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1309)

Unified Diff: Source/core/platform/audio/VectorMath.cpp

Issue 14107015: Rename OS(DARWIN) to OS(MACOSX). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/platform/audio/Reverb.cpp ('k') | Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/audio/VectorMath.cpp
diff --git a/Source/core/platform/audio/VectorMath.cpp b/Source/core/platform/audio/VectorMath.cpp
index 56c33d5bb24e969a68ecd14a81973e5ccbb7b382..ec20d4810a6f54e51b0ebf2051dfcad629a2df2e 100644
--- a/Source/core/platform/audio/VectorMath.cpp
+++ b/Source/core/platform/audio/VectorMath.cpp
@@ -30,7 +30,7 @@
#include "wtf/Assertions.h"
#include <stdint.h>
-#if OS(DARWIN)
+#if OS(MACOSX)
#include <Accelerate/Accelerate.h>
#endif
@@ -49,7 +49,7 @@ namespace WebCore {
namespace VectorMath {
-#if OS(DARWIN)
+#if OS(MACOSX)
// On the Mac we use the highly optimized versions in Accelerate.framework
// In 32-bit mode (__ppc__ or __i386__) <Accelerate/Accelerate.h> includes <vecLib/vDSP_translate.h> which defines macros of the same name as
// our namespaced function names, so we must handle this case differently. Other architectures (64bit, ARM, etc.) do not include this header file.
@@ -680,7 +680,7 @@ void vclip(const float* sourceP, int sourceStride, const float* lowThresholdP, c
}
}
-#endif // OS(DARWIN)
+#endif // OS(MACOSX)
} // namespace VectorMath
« no previous file with comments | « Source/core/platform/audio/Reverb.cpp ('k') | Source/core/platform/audio/ffmpeg/FFTFrameFFMPEG.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698