1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00

(EMACS_GET_TIME): Remove check for

HAVE_STRUCT_TIMEZONE which is never defined.
This commit is contained in:
Andreas Schwab 2006-12-10 16:26:30 +00:00
parent 5aa4ad53e8
commit d170dd8b3c

View File

@ -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) \