aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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