aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2007-07-20 19:20:58 +0000
committerEli Zaretskii2007-07-20 19:20:58 +0000
commit75be52584d49c52bfb5bc21563bc64640c3ea0b9 (patch)
tree34dcf42b435fd22e89269871533ef8d5a683bdf3 /src
parent727bdea1064ff35f32e3055ba20d807625e5fe05 (diff)
downloademacs-75be52584d49c52bfb5bc21563bc64640c3ea0b9.tar.gz
emacs-75be52584d49c52bfb5bc21563bc64640c3ea0b9.zip
(IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): Define
if not defined.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32proc.c7
2 files changed, 12 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index af13ba0f303..a9303a47d6e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12007-07-20 Eli Zaretskii <eliz@gnu.org>
2
3 * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32):
4 Define if not defined.
5
12007-07-18 Jason Rumney <jasonr@gnu.org> 62007-07-18 Jason Rumney <jasonr@gnu.org>
2 7
3 * w32proc.c (w32_executable_type): Handle 64 bit executables. 8 * w32proc.c (w32_executable_type): Handle 64 bit executables.
diff --git a/src/w32proc.c b/src/w32proc.c
index 7d1717792ab..8c99a0a1dff 100644
--- a/src/w32proc.c
+++ b/src/w32proc.c
@@ -590,6 +590,13 @@ get_result:
590 return pid; 590 return pid;
591} 591}
592 592
593/* Old versions of w32api headers don't have separate 32-bit and
594 64-bit defines, but the one they have matches the 32-bit variety. */
595#ifndef IMAGE_NT_OPTIONAL_HDR32_MAGIC
596# define IMAGE_NT_OPTIONAL_HDR32_MAGIC IMAGE_NT_OPTIONAL_HDR_MAGIC
597# define IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER
598#endif
599
593void 600void
594w32_executable_type (char * filename, int * is_dos_app, int * is_cygnus_app, int * is_gui_app) 601w32_executable_type (char * filename, int * is_dos_app, int * is_cygnus_app, int * is_gui_app)
595{ 602{