diff options
| author | Eli Zaretskii | 2014-05-26 19:55:28 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-05-26 19:55:28 +0300 |
| commit | 9aecbeb30847520f92ba273ec149c9ea5f289c51 (patch) | |
| tree | e054e92b1966bbd5e062fe5367b3df251229146a /src | |
| parent | 86c72932a19129b1afa8f02f7ff1d412d7d10fc9 (diff) | |
| download | emacs-9aecbeb30847520f92ba273ec149c9ea5f289c51.tar.gz emacs-9aecbeb30847520f92ba273ec149c9ea5f289c51.zip | |
Minor fixes for MS-Windows MinGW64 build.
src/w32.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Define only if undefined.
lib-src/ntlib.h (lseek): Don't redirect to _lseek.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/w32.c | 8 |
2 files changed, 10 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ff471ae90f9..247ec1c34b4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2014-05-26 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * w32.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Define only if | ||
| 4 | undefined. | ||
| 5 | |||
| 1 | 2014-05-26 Ken Brown <kbrown@cornell.edu> | 6 | 2014-05-26 Ken Brown <kbrown@cornell.edu> |
| 2 | 7 | ||
| 3 | * w32term.c (x_delete_display): Don't free dpyinfo->w32_id_name, | 8 | * w32term.c (x_delete_display): Don't free dpyinfo->w32_id_name, |
| @@ -73,9 +73,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 73 | #include <grp.h> | 73 | #include <grp.h> |
| 74 | 74 | ||
| 75 | /* MinGW64 (_W64) defines these in its _mingw.h. */ | 75 | /* MinGW64 (_W64) defines these in its _mingw.h. */ |
| 76 | #if defined(__GNUC__) && !defined(_W64) | 76 | #ifndef _ANONYMOUS_UNION |
| 77 | #define _ANONYMOUS_UNION | 77 | # define _ANONYMOUS_UNION |
| 78 | #define _ANONYMOUS_STRUCT | 78 | #endif |
| 79 | #ifndef _ANONYMOUS_STRUCT | ||
| 80 | # define _ANONYMOUS_STRUCT | ||
| 79 | #endif | 81 | #endif |
| 80 | #include <windows.h> | 82 | #include <windows.h> |
| 81 | /* Some versions of compiler define MEMORYSTATUSEX, some don't, so we | 83 | /* Some versions of compiler define MEMORYSTATUSEX, some don't, so we |