changeset 74555:132969301815

(EMACS_GET_TIME): Remove check for HAVE_STRUCT_TIMEZONE which is never defined.
author Andreas Schwab <schwab@suse.de>
date Sun, 10 Dec 2006 16:26:30 +0000
parents 16519aeef440
children eb4a2f3ba129
files src/systime.h
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/systime.h	Sun Dec 10 16:25:17 2006 +0000
+++ b/src/systime.h	Sun Dec 10 16:26:30 2006 +0000
@@ -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)		\