summaryrefslogtreecommitdiff
path: root/src/emacs.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-11-21 08:42:12 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-11-21 08:42:49 -0800
commit9de7c6752bffa99535bb42320a2a1936118a4515 (patch)
treec51ff6775294aa172d27245ba6c9b57eefd6417b /src/emacs.c
parent209d85fe5691a9334e14bc63b0c836880831a054 (diff)
downloademacs-9de7c6752bffa99535bb42320a2a1936118a4515.tar.gz
Fix another CANNOT_DUMP problem
Reported by Robert Pluim in: http://lists.gnu.org/archive/html/emacs-devel/2016-11/msg00468.html * src/emacs.c (might_dump) [CANNOT_DUMP]: Move enum decl from here ... * src/lisp.h: ... to here.
Diffstat (limited to 'src/emacs.c')
-rw-r--r--src/emacs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/emacs.c b/src/emacs.c
index 48df53390b3..f633f09098d 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -130,9 +130,7 @@ Lisp_Object Vlibrary_cache;
on subsequent starts. */
bool initialized;
-#ifdef CANNOT_DUMP
-enum { might_dump = false };
-#else
+#ifndef CANNOT_DUMP
/* Set to true if this instance of Emacs might dump. */
# ifndef DOUG_LEA_MALLOC
static