summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-06-17 23:52:35 +0000
committerRichard M. Stallman <rms@gnu.org>1994-06-17 23:52:35 +0000
commita41b92c9e6a35a16b5bbbf8d7aa5b76db9b96c93 (patch)
tree95034e649e345d8cc931f0a3315ccab3b7ed8fdd /src
parent7bccd4ee88ccce47abd8a6baad24891eca220ae9 (diff)
downloademacs-a41b92c9e6a35a16b5bbbf8d7aa5b76db9b96c93.tar.gz
(EMACS_GET_TIME): Test GETTIMEOFDAY_ONE_ARGUMENT, not USG5_4.
Diffstat (limited to 'src')
-rw-r--r--src/systime.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systime.h b/src/systime.h
index 78fd84b074e..188a4743f32 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -96,18 +96,18 @@ extern long timezone;
#define EMACS_SET_USECS(time, microseconds) ((time).tv_usec = (microseconds))
/* On SVR4, the compiler may complain if given this extra BSD arg. */
-#ifdef USG5_4
+#ifdef GETTIMEOFDAY_ONE_ARGUMENT
#define EMACS_GET_TIME(time) \
{ \
gettimeofday (&(time)); \
}
-#else /* not USG5_4 */
+#else /* not GETTIMEOFDAY_ONE_ARGUMENT */
#define EMACS_GET_TIME(time) \
{ \
struct timezone dummy; \
gettimeofday (&(time), &dummy); \
}
-#endif /* not USG5_4 */
+#endif /* not GETTIMEOFDAY_ONE_ARGUMENT */
#define EMACS_ADD_TIME(dest, src1, src2) \
{ \