summaryrefslogtreecommitdiff
path: root/src/base/time.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/time.hh')
-rw-r--r--src/base/time.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/time.hh b/src/base/time.hh
index 7aa4c50db..f10cc5d6c 100644
--- a/src/base/time.hh
+++ b/src/base/time.hh
@@ -97,7 +97,7 @@ std::ostream &operator<<(std::ostream &out, const Time &time);
* @(#)time.h 8.2 (Berkeley) 7/10/94
*/
-#if defined(__sun__)
+#if defined(__sun)
#define timersub(tvp, uvp, vvp) \
do { \
(vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \