Commit 92ce5d32 authored by Jim Blandy's avatar Jim Blandy
Browse files

* systime.h [USG] (EMACS_GET_TZ_OFFSET): Assign to *(offset), not

	(offset).  Don't forget the while corresponding to the do.
	Include USG in the list of systems that have a tzname array.
parent 2507ce20
......@@ -201,14 +201,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define EMACS_GET_TZ_OFFSET(offset) \
do { \
tzset (); \
(offset) = timezone; \
}
*(offset) = timezone; \
} while (0)
#endif
/* The following sane systems have a tzname array. The timezone() function
is a stupid idea; timezone names can only be determined geographically,
not by Greenwich offset. */
#if defined (ultrix) || defined (hpux) || defined (_AIX)
#if defined (ultrix) || defined (hpux) || defined (_AIX) || defined (USG)
#define EMACS_GET_TZ_NAMES(standard, savings) \
do { \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment