diff options
| author | Andrew Innes | 1999-01-17 19:16:08 +0000 |
|---|---|---|
| committer | Andrew Innes | 1999-01-17 19:16:08 +0000 |
| commit | cfe8de43703181df5f5b9ae0a8fa7bae4f256a00 (patch) | |
| tree | 78752fdf60373e79e5da5550e7c8597f4d3e4189 | |
| parent | 32c0fe80992b6e8903e8643d5b352fd92f4366f1 (diff) | |
| download | emacs-cfe8de43703181df5f5b9ae0a8fa7bae4f256a00.tar.gz emacs-cfe8de43703181df5f5b9ae0a8fa7bae4f256a00.zip | |
Include config.h to pick up data layout pragmas.
[WINDOWSNT]: Remove explicit pragma.
| -rw-r--r-- | src/lastfile.c | 6 |
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 | |||
| 39 | char my_edata[] = "End of Emacs initialized data"; | 41 | char 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). */ |
| 45 | char my_endbss[1]; | 46 | char 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. */ |
| 50 | static char _my_endbss[1]; | 51 | static char _my_endbss[1]; |
| 51 | char * my_endbss_static = _my_endbss; | 52 | char * my_endbss_static = _my_endbss; |
| 53 | #endif | ||