summaryrefslogtreecommitdiff
path: root/als/SensorBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'als/SensorBase.h')
-rw-r--r--als/SensorBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/als/SensorBase.h b/als/SensorBase.h
index 417ba20..78b7c38 100644
--- a/als/SensorBase.h
+++ b/als/SensorBase.h
@@ -22,7 +22,7 @@
#include <sys/cdefs.h>
#include <sys/types.h>
-#if defined ANDROID_L
+#if ANDROID_VERSION >= 5
/* #warning "build for Wear" */
#define LOGV_IF ALOGV_IF
#define LOGE_IF ALOGE_IF