aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
Diffstat (limited to 'src/3rdparty')
-rw-r--r--src/3rdparty/masm/assembler/ARMv7Assembler.h4
-rw-r--r--src/3rdparty/masm/wtf/Platform.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/3rdparty/masm/assembler/ARMv7Assembler.h b/src/3rdparty/masm/assembler/ARMv7Assembler.h
index 7dcf656921..99a0e82b1a 100644
--- a/src/3rdparty/masm/assembler/ARMv7Assembler.h
+++ b/src/3rdparty/masm/assembler/ARMv7Assembler.h
@@ -34,6 +34,10 @@
#include <wtf/Vector.h>
#include <stdint.h>
+#if OS(IOS)
+#include <libkern/OSCacheControl.h>
+#endif
+
namespace JSC {
namespace ARMRegisters {
diff --git a/src/3rdparty/masm/wtf/Platform.h b/src/3rdparty/masm/wtf/Platform.h
index 5c85c15634..64ffbb71f7 100644
--- a/src/3rdparty/masm/wtf/Platform.h
+++ b/src/3rdparty/masm/wtf/Platform.h
@@ -448,7 +448,7 @@
#define WTF_PLATFORM_MAC 1
#elif OS(WINDOWS)
#define WTF_PLATFORM_WIN 1
-#endif
+#else
/* PLATFORM(IOS) */
/* FIXME: this is sometimes used as an OS switch and sometimes for higher-level things */
@@ -461,6 +461,7 @@
#define WTF_PLATFORM_IOS 1
#define WTF_PLATFORM_IOS_SIMULATOR 1
#endif
+#endif
/* Graphics engines */