Browse Source

Disable NEON from WebP library on Android for now, as it results in compile error from the include files if the NEON instruction set is not in use.

Lasse Öörni 8 years ago
parent
commit
93fc311b30
1 changed files with 4 additions and 1 deletions
  1. 4 1
      Source/ThirdParty/WebP/src/dsp/dsp.h

+ 4 - 1
Source/ThirdParty/WebP/src/dsp/dsp.h

@@ -11,6 +11,8 @@
 //
 // Author: Skal ([email protected])
 
+// Modified by Lasse Oorni for Urho3D
+
 #ifndef WEBP_DSP_DSP_H_
 #define WEBP_DSP_DSP_H_
 
@@ -72,7 +74,8 @@ extern "C" {
 #endif
 
 #if defined(__ANDROID__) && defined(__ARM_ARCH_7A__)
-#define WEBP_ANDROID_NEON  // Android targets that might support NEON
+// Urho3D: disable Android NEON instruction set for now, as it might not be in use, resulting in compile error
+// #define WEBP_ANDROID_NEON  // Android targets that might support NEON
 #endif
 
 // The intrinsics currently cause compiler errors with arm-nacl-gcc and the