summaryrefslogtreecommitdiffstats
path: root/ipc/chromium/src/base/time.h
diff options
context:
space:
mode:
authorathenian200 <athenian200@outlook.com>2019-10-19 14:24:49 -0500
committerathenian200 <athenian200@outlook.com>2019-10-21 04:53:45 -0500
commit687a798e6dedacb8b42826debcd8e89baa69ce94 (patch)
treee2ce9b1a8dd6822071051f4052fbdaee2feb5976 /ipc/chromium/src/base/time.h
parente4f90cbb56b3cdcde52396b1aaa476cc8c5f07e5 (diff)
downloadUXP-687a798e6dedacb8b42826debcd8e89baa69ce94.tar
UXP-687a798e6dedacb8b42826debcd8e89baa69ce94.tar.gz
UXP-687a798e6dedacb8b42826debcd8e89baa69ce94.tar.lz
UXP-687a798e6dedacb8b42826debcd8e89baa69ce94.tar.xz
UXP-687a798e6dedacb8b42826debcd8e89baa69ce94.zip
MoonchildProductions#1251 - Part 27: Fix ifdef style.
This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
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