]> code.delx.au - gnu-emacs/commitdiff
(EMACS_GET_TIME): Test GETTIMEOFDAY_ONE_ARGUMENT, not USG5_4.
authorRichard M. Stallman <rms@gnu.org>
Fri, 17 Jun 1994 23:52:35 +0000 (23:52 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 17 Jun 1994 23:52:35 +0000 (23:52 +0000)
src/systime.h

index 78fd84b074e678c166650b2d6902f350cc4a511c..188a4743f32e2f7a2152eb542170f660139305da 100644 (file)
@@ -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)                       \
 {                                                              \