]> code.delx.au - gnu-emacs/blobdiff - src/lastfile.c
* xfns.c (xpm_load) [!ALLOC_XPM_COLORS]: Declare local variable I in inner block.
[gnu-emacs] / src / lastfile.c
index 0efb03dac8faa92a3e1becf19206b46bdff82965..e93bbc6c6ab80ef3acb7236c2031e927bf712180 100644 (file)
@@ -36,5 +36,18 @@ Boston, MA 02111-1307, USA.  */
  coming from libraries.
 */
 
+#include <config.h>
+
 char my_edata[] = "End of Emacs initialized data";
 
+#ifdef WINDOWSNT
+/* 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];
+
+/* 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