summaryrefslogtreecommitdiff
path: root/src/systime.h
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
commitaf57e5a7ceaef21e341214c494e742a8f21b1d0d (patch)
treecc2456dc2410329d18b5249a43b3b70ae02ca223 /src/systime.h
parent2ee5356f14457c9a4df61bc5dedc4d1c33c3d419 (diff)
downloademacs-af57e5a7ceaef21e341214c494e742a8f21b1d0d.tar.gz
(EMACS_GET_TIME): Test GETTIMEOFDAY_ONE_ARGUMENT, not USG5_4.
Diffstat (limited to 'src/systime.h')
-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) \
{ \