Created
April 2, 2018 20:54
-
-
Save jallum/85439ded2c9a78c8948fdceac179d695 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/image.cpp b/src/image.cpp | |
index 495293e..b135704 100644 | |
--- a/src/image.cpp | |
+++ b/src/image.cpp | |
@@ -11,7 +11,7 @@ | |
#include <immintrin.h> | |
#endif | |
-#ifdef ANDROID | |
+#if defined (ANDROID) || (defined (__linux__) && !defined (__x86_64__)) | |
bool has_avx() { return false; } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment