summaryrefslogtreecommitdiffstats
path: root/base/time_posix.cc
diff options
context:
space:
mode:
authorboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-03 04:53:07 +0000
committerboliu@chromium.org <boliu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-03 04:53:07 +0000
commit6fac922731581765238234abd0831258f8be1d82 (patch)
tree851be76dcfc4c8f883f3b9454bf0ee8df81252e7 /base/time_posix.cc
parent10cbaf017570ba6454174c55b844647aa6a9b3b4 (diff)
downloadchromium_src-6fac922731581765238234abd0831258f8be1d82.zip
chromium_src-6fac922731581765238234abd0831258f8be1d82.tar.gz
chromium_src-6fac922731581765238234abd0831258f8be1d82.tar.bz2
Remove define _POSIX_MONOTONIC_CLOCK for OS_ANDROID
It is only defined in the cc file and does not appear to be used. BUG= TBR=brettw,michaelbai Review URL: https://chromiumcodereview.appspot.com/11748011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@174936 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/time_posix.cc')
-rw-r--r--base/time_posix.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/base/time_posix.cc b/base/time_posix.cc
index b6a1250..288c6463 100644
--- a/base/time_posix.cc
+++ b/base/time_posix.cc
@@ -66,10 +66,6 @@ void SysTimeToTimeStruct(SysTime t, struct tm* timestruct, bool is_local) {
namespace base {
-#if defined(OS_ANDROID)
-#define _POSIX_MONOTONIC_CLOCK 1
-#endif
-
struct timespec TimeDelta::ToTimeSpec() const {
int64 microseconds = InMicroseconds();
time_t seconds = 0;