summaryrefslogtreecommitdiff
path: root/src/lastfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lastfile.c')
-rw-r--r--src/lastfile.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lastfile.c b/src/lastfile.c
index 0efb03dac8f..6c4320028f2 100644
--- a/src/lastfile.c
+++ b/src/lastfile.c
@@ -38,3 +38,9 @@ Boston, MA 02111-1307, USA. */
char my_edata[] = "End of Emacs initialized data";
+#ifdef WINDOWSNT
+#pragma bss_seg("EMBSS")
+/* Help unexec locate the end of the .bss area used by Emacs (which
+ isn't always a separate section in NT executables). */
+char my_endbss[1];
+#endif