summaryrefslogtreecommitdiff
path: root/src/lastfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lastfile.c')
-rw-r--r--src/lastfile.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lastfile.c b/src/lastfile.c
index 9cf1becc473..f146602b3a0 100644
--- a/src/lastfile.c
+++ b/src/lastfile.c
@@ -38,7 +38,12 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include "lisp.h"
+#if ((!defined SYSTEM_MALLOC && !defined HYBRID_MALLOC) \
+ || defined WINDOWSNT || defined CYGWIN || defined DARWIN_OS)
char my_edata[] = "End of Emacs initialized data";
+#endif
+
+#ifndef CANNOT_DUMP
/* Help unexec locate the end of the .bss area used by Emacs (which
isn't always a separate section in NT executables). */
@@ -49,3 +54,5 @@ char my_endbss[1];
of the bss area used by Emacs. */
static char _my_endbss[1];
char * my_endbss_static = _my_endbss;
+
+#endif