[Android] [PATCH 6/7] jni: Exclude ARM-only header

Rafaël Carré funman at videolan.org
Mon Jul 23 16:28:26 CEST 2012


Le 2012-07-23 05:56, Edward Wang a écrit :
> ---
>  vlc-android/jni/pthread-once.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/vlc-android/jni/pthread-once.c b/vlc-android/jni/pthread-once.c
> index e256a10..9c2cffb 100644
> --- a/vlc-android/jni/pthread-once.c
> +++ b/vlc-android/jni/pthread-once.c
> @@ -29,7 +29,10 @@
>  #include <pthread.h>
>  #include <unistd.h>
>  
> +#if defined(__arm__)
> +/* The file only exists for ARM, for now */
>  #include <machine/cpu-features.h>
> +#endif
>  
>  /* Adapted from bionic_atomic_inline.h */
>  static inline void ANDROID_MEMBAR_FULL(void) {

Merged, thanks.


More information about the Android mailing list