aboutsummaryrefslogtreecommitdiffstats
path: root/devel/fccf/files/patch-source_sse2__strstr.cpp
blob: d16b6f745b5d56f475fc8ef23253d1d5df52de2c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- source/sse2_strstr.cpp.orig	2022-08-27 09:05:40 UTC
+++ source/sse2_strstr.cpp
@@ -2,7 +2,9 @@
 #include <cstring>
 
 #include <ctype.h>
+#if defined(__x86_64__) || defined (__i386__)
 #include <immintrin.h>
+#endif
 #include <sse2_strstr.hpp>
 
 #define FORCE_INLINE inline __attribute__((always_inline))