commit | 4d46be7de030ad8a4bc5c77873278d4396fa8f4a | [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 | f56e9ec28e1ffcdf57705b202a23e5e4ee713b5b [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[] = {