summaryrefslogtreecommitdiff
path: root/src/systime.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2006-12-10 16:26:30 +0000
committerAndreas Schwab <schwab@suse.de>2006-12-10 16:26:30 +0000
commit865230c73992ba3311f5db17e9fdda2250a9283a (patch)
tree79d1933e273b9072de13255d9e16653580631276 /src/systime.h
parent81700f3d5339d772c43c13398da11468931173ae (diff)
downloademacs-865230c73992ba3311f5db17e9fdda2250a9283a.tar.gz
(EMACS_GET_TIME): Remove check for
HAVE_STRUCT_TIMEZONE which is never defined.
Diffstat (limited to 'src/systime.h')
-rw-r--r--src/systime.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/systime.h b/src/systime.h
index 00373b257b3..e7ff2b2a3b7 100644
--- a/src/systime.h
+++ b/src/systime.h
@@ -101,16 +101,8 @@ extern time_t timezone;
#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) \