summaryrefslogtreecommitdiff
path: root/src/lastfile.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>1999-01-17 19:16:08 +0000
committerAndrew Innes <andrewi@gnu.org>1999-01-17 19:16:08 +0000
commitcfe8de43703181df5f5b9ae0a8fa7bae4f256a00 (patch)
tree78752fdf60373e79e5da5550e7c8597f4d3e4189 /src/lastfile.c
parent32c0fe80992b6e8903e8643d5b352fd92f4366f1 (diff)
Include config.h to pick up data layout pragmas.
[WINDOWSNT]: Remove explicit pragma.
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