From 46c4e5cb41d245a9d473ee43ca2ceb8df733544d Mon Sep 17 00:00:00 2001 From: Riccardo Mottola Date: Sat, 16 Dec 2017 18:58:55 +0100 Subject: [PATCH] better ifdef for x86 to include SSe header that enables the member function definitions --- xpcom/string/nsUTF8Utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xpcom/string/nsUTF8Utils.h b/xpcom/string/nsUTF8Utils.h index 41747f0d4..f121c514b 100644 --- a/xpcom/string/nsUTF8Utils.h +++ b/xpcom/string/nsUTF8Utils.h @@ -12,7 +12,8 @@ #include "nscore.h" #include "mozilla/Assertions.h" -#if MOZILLA_MAY_SUPPORT_SSE2 + +#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)) #include "mozilla/SSE.h" #endif