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, 4 insertions, 2 deletions
diff --git a/src/lastfile.c b/src/lastfile.c
index f720259e6f..e93bbc6c6a 100644
--- a/src/lastfile.c
+++ b/src/lastfile.c
@@ -36,16 +36,18 @@ Boston, MA 02111-1307, USA. */
coming from libraries.
*/
+#include <config.h>
+
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
+
/* The Alpha MSVC linker globally segregates all static and public bss
data, so we must take both into account to determine the true extent
of the bss area used by Emacs. */
static char _my_endbss[1];
char * my_endbss_static = _my_endbss;
+#endif