diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-02-01 13:03:18 -0800 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-02-01 13:05:39 -0800 |
commit | 3b69e02a248c8b46223d5a9cecfb2494992e5fbe (patch) | |
tree | 22eca8d283fb1ea9aef90f5529260803e95dc266 /src/timefns.c | |
parent | 84802b66197c623735aaca875b8e1a39cb0ef085 (diff) | |
download | emacs-3b69e02a248c8b46223d5a9cecfb2494992e5fbe.tar.gz emacs-3b69e02a248c8b46223d5a9cecfb2494992e5fbe.tar.bz2 emacs-3b69e02a248c8b46223d5a9cecfb2494992e5fbe.zip |
Rename CANNOT_DUMP to HAVE_UNEXEC
* configure.ac (CANNOT_DUMP): Remove. All uses removed,
or changed to the negative of with_unexec.
(HAVE_UNEXEC): New macro. All uses of CANNOT_DUMP changed
to the negative of this macro.
Diffstat (limited to 'src/timefns.c')
-rw-r--r-- | src/timefns.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timefns.c b/src/timefns.c index ce1f4d3f5a9..7e061228e2c 100644 --- a/src/timefns.c +++ b/src/timefns.c @@ -294,7 +294,7 @@ tzlookup (Lisp_Object zone, bool settz) void init_timefns (void) { -#ifndef CANNOT_DUMP +#ifdef HAVE_UNEXEC /* A valid but unlikely setting for the TZ environment variable. It is OK (though a bit slower) if the user chooses this value. */ static char dump_tz_string[] = "TZ=UtC0"; @@ -311,7 +311,7 @@ init_timefns (void) char *tz = getenv ("TZ"); -#if !defined CANNOT_DUMP +#ifdef HAVE_UNEXEC /* If the execution TZ happens to be the same as the dump TZ, change it to some other value and then change it back, to force the underlying implementation to reload the TZ info. |