From b4a8f8989e3ab3cc82693cc66f4c37cd7a63b1c7 Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <vital.had@gmail.com>
Date: Fri, 9 Feb 2024 05:16:52 +0800
Subject: [PATCH] fpu.h: fix i386 on macOS

---
 iv/lv5/fpu.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git iv/lv5/fpu.h iv/lv5/fpu.h
index 64def8a1..ab296de6 100644
--- iv/lv5/fpu.h
+++ iv/lv5/fpu.h
@@ -2,7 +2,8 @@
 #define IV_LV5_FPU_H_
 #include <iv/noncopyable.h>
 #include <iv/platform.h>
-#if (!defined(IV_USE_SSE) && defined(IV_COMPILER_GCC) && defined(__i386__) && !defined(IV_OS_CYGWIN))  // NOLINT
+#if (!defined(IV_USE_SSE) && defined(IV_COMPILER_GCC) && defined(__i386__) \
+    && !defined(IV_OS_CYGWIN) && !defined(IV_OS_MACOSX))  // NOLINT
 #include <fpu_control.h>
 namespace iv {
 namespace lv5 {
