aboutsummaryrefslogtreecommitdiffstats
path: root/src/timefns.c
diff options
context:
space:
mode:
authorPaul Eggert2019-02-01 13:03:18 -0800
committerPaul Eggert2019-02-01 13:05:39 -0800
commit3b69e02a248c8b46223d5a9cecfb2494992e5fbe (patch)
tree22eca8d283fb1ea9aef90f5529260803e95dc266 /src/timefns.c
parent84802b66197c623735aaca875b8e1a39cb0ef085 (diff)
downloademacs-3b69e02a248c8b46223d5a9cecfb2494992e5fbe.tar.gz
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.c4
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)
294void 294void
295init_timefns (void) 295init_timefns (void)
296{ 296{
297#ifndef CANNOT_DUMP 297#ifdef HAVE_UNEXEC
298 /* A valid but unlikely setting for the TZ environment variable. 298 /* A valid but unlikely setting for the TZ environment variable.
299 It is OK (though a bit slower) if the user chooses this value. */ 299 It is OK (though a bit slower) if the user chooses this value. */
300 static char dump_tz_string[] = "TZ=UtC0"; 300 static char dump_tz_string[] = "TZ=UtC0";
@@ -311,7 +311,7 @@ init_timefns (void)
311 311
312 char *tz = getenv ("TZ"); 312 char *tz = getenv ("TZ");
313 313
314#if !defined CANNOT_DUMP 314#ifdef HAVE_UNEXEC
315 /* If the execution TZ happens to be the same as the dump TZ, 315 /* If the execution TZ happens to be the same as the dump TZ,
316 change it to some other value and then change it back, 316 change it to some other value and then change it back,
317 to force the underlying implementation to reload the TZ info. 317 to force the underlying implementation to reload the TZ info.