diff options
| author | Eli Zaretskii | 2007-07-20 19:20:58 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2007-07-20 19:20:58 +0000 |
| commit | 75be52584d49c52bfb5bc21563bc64640c3ea0b9 (patch) | |
| tree | 34dcf42b435fd22e89269871533ef8d5a683bdf3 /src | |
| parent | 727bdea1064ff35f32e3055ba20d807625e5fe05 (diff) | |
| download | emacs-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/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32proc.c | 7 |
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 @@ | |||
| 1 | 2007-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 | |||
| 1 | 2007-07-18 Jason Rumney <jasonr@gnu.org> | 6 | 2007-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 | |||
| 593 | void | 600 | void |
| 594 | w32_executable_type (char * filename, int * is_dos_app, int * is_cygnus_app, int * is_gui_app) | 601 | w32_executable_type (char * filename, int * is_dos_app, int * is_cygnus_app, int * is_gui_app) |
| 595 | { | 602 | { |