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