diff options
Diffstat (limited to 'include/android/input.h')
-rw-r--r-- | include/android/input.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/include/android/input.h b/include/android/input.h index 9a0eb4d838..16d86af44c 100644 --- a/include/android/input.h +++ b/include/android/input.h @@ -54,16 +54,12 @@ #include <stdint.h> #include <sys/types.h> #include <android/keycodes.h> - -// This file is included by modules that have host support but android/looper.h is not supported -// on host. __REMOVED_IN needs to be defined in order for android/looper.h to be compiled. -#ifndef __BIONIC__ -#define __REMOVED_IN(x) __attribute__((deprecated)) -#endif #include <android/looper.h> #include <jni.h> +// This file may also be built on glibc or on Windows/MacOS libc's, so no-op +// definitions are provided. #if !defined(__INTRODUCED_IN) #define __INTRODUCED_IN(__api_level) /* nothing */ #endif |