Skip to content

Instantly share code, notes, and snippets.

@jallum
Created April 2, 2018 20:54
Show Gist options
  • Save jallum/85439ded2c9a78c8948fdceac179d695 to your computer and use it in GitHub Desktop.
Save jallum/85439ded2c9a78c8948fdceac179d695 to your computer and use it in GitHub Desktop.
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