Bläddra i källkod

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 år sedan
förälder
incheckning
93fc311b30
1 ändrade filer med 4 tillägg och 1 borttagningar
  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])
 // Author: Skal ([email protected])
 
 
+// Modified by Lasse Oorni for Urho3D
+
 #ifndef WEBP_DSP_DSP_H_
 #ifndef WEBP_DSP_DSP_H_
 #define WEBP_DSP_DSP_H_
 #define WEBP_DSP_DSP_H_
 
 
@@ -72,7 +74,8 @@ extern "C" {
 #endif
 #endif
 
 
 #if defined(__ANDROID__) && defined(__ARM_ARCH_7A__)
 #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
 #endif
 
 
 // The intrinsics currently cause compiler errors with arm-nacl-gcc and the
 // The intrinsics currently cause compiler errors with arm-nacl-gcc and the