summaryrefslogtreecommitdiffstats
path: root/ipc/chromium/src/base/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'ipc/chromium/src/base/time.h')
-rw-r--r--ipc/chromium/src/base/time.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ipc/chromium/src/base/time.h b/ipc/chromium/src/base/time.h
index 6a5c92d14..cee463579 100644
--- a/ipc/chromium/src/base/time.h
+++ b/ipc/chromium/src/base/time.h
@@ -28,7 +28,7 @@
#include "base/basictypes.h"
-#if defined(OS_WIN)
+#ifdef OS_WIN
// For FILETIME in FromFileTime, until it moves to a new converter class.
// See TODO(iyengar) below.
#include <windows.h>
@@ -64,7 +64,7 @@ class TimeDelta {
return delta_;
}
-#if defined(OS_SOLARIS)
+#ifdef OS_SOLARIS
struct timespec ToTimeSpec() const;
#endif
@@ -230,11 +230,11 @@ class Time {
static Time FromDoubleT(double dt);
double ToDoubleT() const;
-#if defined(OS_SOLARIS)
+#ifdef OS_SOLARIS
struct timeval ToTimeVal() const;
#endif
-#if defined(OS_WIN)
+#ifdef OS_WIN
static Time FromFileTime(FILETIME ft);
FILETIME ToFileTime() const;
#endif