diff options
author | Jim Blandy <jimb@redhat.com> | 1992-11-07 07:37:08 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-11-07 07:37:08 +0000 |
commit | 7281757f15d504ea03a3afc8ea2ee5ae4ff0967a (patch) | |
tree | 5ea6b9f230d41afa586624882aeb7390bfb6eae9 /src | |
parent | 2dfb6d51c6798beb0e51e54ed6e1032d181e2f3f (diff) | |
download | emacs-7281757f15d504ea03a3afc8ea2ee5ae4ff0967a.tar.gz |
* 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.
Diffstat (limited to 'src')
-rw-r--r-- | src/systime.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systime.h b/src/systime.h index 1741c8cc046..ab1d6802133 100644 --- a/src/systime.h +++ b/src/systime.h @@ -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 { \ |