Bug 656782 - Runtime CPU features detection does not work for pixman in Android [r=jmuizelaar]

Pixman upgrade from bug 640250 resulted in ARM cpu features
not being detected properly in Android. As a result, NEON
optimizations were not used at all.
This commit is contained in:
Siarhei Siamashka 2011-05-12 15:26:00 -04:00
parent 6a14bd1a87
commit 45f3e58d85

View File

@ -244,7 +244,7 @@ pixman_have_arm_neon (void)
#endif /* USE_ARM_NEON */
#elif defined (__linux__) /* linux ELF */
#elif defined (__linux__) || defined(ANDROID) /* linux ELF */
#include <stdlib.h>
#include <unistd.h>