# HG changeset patch # User Jim Blandy # Date 721121828 0 # Node ID ca102ce0c00db95eeb427e344fe0167a079eeb53 # Parent d978f163d9a44b3232d8a37c8c7abf35291638f1 * 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. diff -r d978f163d9a4 -r ca102ce0c00d src/systime.h --- a/src/systime.h Sat Nov 07 07:36:36 1992 +0000 +++ b/src/systime.h Sat Nov 07 07:37:08 1992 +0000 @@ -201,14 +201,14 @@ #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 { \