commit | 9b828adfad09200f3f1bd3602187fe3dd5335774 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Jul 30 08:47:35 2015 -0700 |
committer | Elliott Hughes <enh@google.com> | Thu Jul 30 09:33:43 2015 -0700 |
tree | dbea9a10676206346b39e428e74ee630a1a71219 | |
parent | dcf890914c7571d3068046b9df1f672e9f45b4d2 [diff] [blame] |
Use __ANDROID__ instead of HAVE_ANDROID_OS. Change-Id: I9967f3fd758c2a5b40be5b60ae72be7e2fb75136
diff --git a/libutils/Timers.cpp b/libutils/Timers.cpp index fb70e15..201bc41 100644 --- a/libutils/Timers.cpp +++ b/libutils/Timers.cpp
@@ -23,7 +23,7 @@ #include <sys/time.h> #include <time.h> -#if defined(HAVE_ANDROID_OS) +#if defined(__ANDROID__) nsecs_t systemTime(int clock) { static const clockid_t clocks[] = {