diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/w32.c | 2 | ||||
| -rw-r--r-- | src/w32term.c | 5 |
3 files changed, 12 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 107d2af866b..669c8e99a27 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2013-03-26 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | Fix incompatibilities between MinGW.org and MinGW64 headers. | ||
| 4 | * w32term.c (WCRANGE, GLYPHSET): Don't define if _W64 is defined. | ||
| 5 | |||
| 6 | * w32.c (REPARSE_DATA_BUFFER): Guard with | ||
| 7 | MAXIMUM_REPARSE_DATA_BUFFER_SIZE being defined. | ||
| 8 | |||
| 1 | 2013-03-25 Jan Djärv <jan.h.d@swipnet.se> | 9 | 2013-03-25 Jan Djärv <jan.h.d@swipnet.se> |
| 2 | 10 | ||
| 3 | * xterm.c: Include X11/XKBlib.h | 11 | * xterm.c: Include X11/XKBlib.h |
| @@ -127,7 +127,7 @@ typedef struct _PROCESS_MEMORY_COUNTERS_EX { | |||
| 127 | #define SDDL_REVISION_1 1 | 127 | #define SDDL_REVISION_1 1 |
| 128 | #endif /* SDDL_REVISION_1 */ | 128 | #endif /* SDDL_REVISION_1 */ |
| 129 | 129 | ||
| 130 | #ifdef _MSC_VER | 130 | #ifndef MAXIMUM_REPARSE_DATA_BUFFER_SIZE |
| 131 | /* MSVC doesn't provide the definition of REPARSE_DATA_BUFFER and the | 131 | /* MSVC doesn't provide the definition of REPARSE_DATA_BUFFER and the |
| 132 | associated macros, except on ntifs.h, which cannot be included | 132 | associated macros, except on ntifs.h, which cannot be included |
| 133 | because it triggers conflicts with other Windows API headers. So | 133 | because it triggers conflicts with other Windows API headers. So |
diff --git a/src/w32term.c b/src/w32term.c index e02b5a61229..5f7952c2ec2 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -109,9 +109,10 @@ struct w32_display_info *x_display_list; | |||
| 109 | Lisp_Object w32_display_name_list; | 109 | Lisp_Object w32_display_name_list; |
| 110 | 110 | ||
| 111 | 111 | ||
| 112 | #if _WIN32_WINNT < 0x0500 | 112 | #if _WIN32_WINNT < 0x0500 && !defined(_W64) |
| 113 | /* Pre Windows 2000, this was not available, but define it here so | 113 | /* Pre Windows 2000, this was not available, but define it here so |
| 114 | that Emacs compiled on such a platform will run on newer versions. */ | 114 | that Emacs compiled on such a platform will run on newer versions. |
| 115 | MinGW64 (_W64) defines these unconditionally, so avoid redefining. */ | ||
| 115 | 116 | ||
| 116 | typedef struct tagWCRANGE | 117 | typedef struct tagWCRANGE |
| 117 | { | 118 | { |