emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/systime.h,v


From: Andreas Schwab
Subject: [Emacs-diffs] Changes to emacs/src/systime.h,v
Date: Sun, 10 Dec 2006 16:26:30 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Andreas Schwab <schwab> 06/12/10 16:26:30

Index: systime.h
===================================================================
RCS file: /sources/emacs/emacs/src/systime.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -b -r1.44 -r1.45
--- systime.h   6 Feb 2006 15:23:21 -0000       1.44
+++ systime.h   10 Dec 2006 16:26:30 -0000      1.45
@@ -101,16 +101,8 @@
 #ifdef GETTIMEOFDAY_ONE_ARGUMENT
 #define EMACS_GET_TIME(time) gettimeofday (&(time))
 #else /* not GETTIMEOFDAY_ONE_ARGUMENT */
-#ifdef HAVE_STRUCT_TIMEZONE
-#define EMACS_GET_TIME(time)                   \
-  do {                                         \
-    struct timezone dummy;                     \
-    gettimeofday (&(time), &dummy);            \
-  } while (0)
-#else
 /* Presumably the second arg is ignored.  */
 #define EMACS_GET_TIME(time) gettimeofday (&(time), NULL)
-#endif /* HAVE_STRUCT_TIMEZONE */
 #endif /* not GETTIMEOFDAY_ONE_ARGUMENT */
 
 #define EMACS_ADD_TIME(dest, src1, src2)               \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]