diff src/systime.h @ 7949:19c2639826a7

(EMACS_GET_TIME): Test GETTIMEOFDAY_ONE_ARGUMENT, not USG5_4.
author Richard M. Stallman <rms@gnu.org>
date Fri, 17 Jun 1994 23:52:35 +0000
parents 92a4522c37fc
children ff77b0aa7754
line wrap: on
line diff
--- a/src/systime.h	Fri Jun 17 23:51:52 1994 +0000
+++ b/src/systime.h	Fri Jun 17 23:52:35 1994 +0000
@@ -96,18 +96,18 @@
 #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)			\
 {								\