aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Innes1999-01-17 19:16:08 +0000
committerAndrew Innes1999-01-17 19:16:08 +0000
commitcfe8de43703181df5f5b9ae0a8fa7bae4f256a00 (patch)
tree78752fdf60373e79e5da5550e7c8597f4d3e4189 /src
parent32c0fe80992b6e8903e8643d5b352fd92f4366f1 (diff)
downloademacs-cfe8de43703181df5f5b9ae0a8fa7bae4f256a00.tar.gz
emacs-cfe8de43703181df5f5b9ae0a8fa7bae4f256a00.zip
Include config.h to pick up data layout pragmas.
[WINDOWSNT]: Remove explicit pragma.
Diffstat (limited to 'src')
-rw-r--r--src/lastfile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lastfile.c b/src/lastfile.c
index f720259e6f4..e93bbc6c6ab 100644
--- a/src/lastfile.c
+++ b/src/lastfile.c
@@ -36,16 +36,18 @@ Boston, MA 02111-1307, USA. */
36 coming from libraries. 36 coming from libraries.
37*/ 37*/
38 38
39#include <config.h>
40
39char my_edata[] = "End of Emacs initialized data"; 41char my_edata[] = "End of Emacs initialized data";
40 42
41#ifdef WINDOWSNT 43#ifdef WINDOWSNT
42#pragma bss_seg("EMBSS")
43/* Help unexec locate the end of the .bss area used by Emacs (which 44/* Help unexec locate the end of the .bss area used by Emacs (which
44 isn't always a separate section in NT executables). */ 45 isn't always a separate section in NT executables). */
45char my_endbss[1]; 46char my_endbss[1];
46#endif 47
47/* The Alpha MSVC linker globally segregates all static and public bss 48/* The Alpha MSVC linker globally segregates all static and public bss
48 data, so we must take both into account to determine the true extent 49 data, so we must take both into account to determine the true extent
49 of the bss area used by Emacs. */ 50 of the bss area used by Emacs. */
50static char _my_endbss[1]; 51static char _my_endbss[1];
51char * my_endbss_static = _my_endbss; 52char * my_endbss_static = _my_endbss;
53#endif