HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* src/window.c (struct saved_window): Remove mark.
[bpt/emacs.git]
/
src
/
unexw32.c
diff --git
a/src/unexw32.c
b/src/unexw32.c
index
3dfce22
..
f70cdd7
100644
(file)
--- a/
src/unexw32.c
+++ b/
src/unexw32.c
@@
-1,5
+1,5
@@
/* unexec for GNU Emacs on Windows NT.
/* unexec for GNU Emacs on Windows NT.
- Copyright (C) 1994, 2001-201
3
Free Software Foundation, Inc.
+ Copyright (C) 1994, 2001-201
4
Free Software Foundation, Inc.
This file is part of GNU Emacs.
This file is part of GNU Emacs.
@@
-85,6
+85,13
@@
DWORD_PTR extra_bss_size_static = 0;
PIMAGE_SECTION_HEADER heap_section;
PIMAGE_SECTION_HEADER heap_section;
+/* MinGW64 doesn't add a leading underscore to external symbols,
+ whereas configure.ac sets up LD_SWITCH_SYSTEM_TEMACS to force the
+ entry point at __start, with two underscores. */
+#ifdef __MINGW64__
+#define _start __start
+#endif
+
/* Startup code for running on NT. When we are running as the dumped
version, we need to bootstrap our heap and .bss section into our
address space before we can actually hand off control to the startup
/* Startup code for running on NT. When we are running as the dumped
version, we need to bootstrap our heap and .bss section into our
address space before we can actually hand off control to the startup