diff options
| author | Eli Zaretskii | 2013-03-26 16:26:24 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-26 16:26:24 +0200 |
| commit | 9536ec028c24fbedf617b67e98a108504e5b1e73 (patch) | |
| tree | 5697729ccbc10cf99c6c8bf276b6adb3fa091ce6 | |
| parent | 8f5e14c849415e68add0e617277ffa33325b5593 (diff) | |
| download | emacs-9536ec028c24fbedf617b67e98a108504e5b1e73.tar.gz emacs-9536ec028c24fbedf617b67e98a108504e5b1e73.zip | |
More MinGW64 related fixes.
nt/addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not
define for MinGW64.
nt/preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define
for MinGW64.
| -rw-r--r-- | nt/ChangeLog | 6 | ||||
| -rw-r--r-- | nt/addsection.c | 2 | ||||
| -rw-r--r-- | nt/preprep.c | 2 |
3 files changed, 8 insertions, 2 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog index 10f145a0dd9..031735edac8 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog | |||
| @@ -1,5 +1,11 @@ | |||
| 1 | 2013-03-26 Eli Zaretskii <eliz@gnu.org> | 1 | 2013-03-26 Eli Zaretskii <eliz@gnu.org> |
| 2 | 2 | ||
| 3 | * addsection.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not | ||
| 4 | define for MinGW64. | ||
| 5 | |||
| 6 | * preprep.c (_ANONYMOUS_UNION, _ANONYMOUS_STRUCT): Do not define | ||
| 7 | for MinGW64. | ||
| 8 | |||
| 3 | Fix more incompatibilities between MinGW.org and MinGW64 headers | 9 | Fix more incompatibilities between MinGW.org and MinGW64 headers |
| 4 | reported by Óscar Fuentes in | 10 | reported by Óscar Fuentes in |
| 5 | http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html | 11 | http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00733.html |
diff --git a/nt/addsection.c b/nt/addsection.c index ee68ebee9b2..61a8cfce742 100644 --- a/nt/addsection.c +++ b/nt/addsection.c | |||
| @@ -25,7 +25,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | #include <fcntl.h> | 26 | #include <fcntl.h> |
| 27 | #include <time.h> | 27 | #include <time.h> |
| 28 | #ifdef __GNUC__ | 28 | #if defined(__GNUC__) && !defined(_W64) |
| 29 | #define _ANONYMOUS_UNION | 29 | #define _ANONYMOUS_UNION |
| 30 | #define _ANONYMOUS_STRUCT | 30 | #define _ANONYMOUS_STRUCT |
| 31 | #endif | 31 | #endif |
diff --git a/nt/preprep.c b/nt/preprep.c index 8604dd40c1f..42855ce7f20 100644 --- a/nt/preprep.c +++ b/nt/preprep.c | |||
| @@ -25,7 +25,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |||
| 25 | #include <stdio.h> | 25 | #include <stdio.h> |
| 26 | #include <fcntl.h> | 26 | #include <fcntl.h> |
| 27 | #include <time.h> | 27 | #include <time.h> |
| 28 | #ifdef __GNUC__ | 28 | #if defined(__GNUC__) && !defined(_W64) |
| 29 | #define _ANONYMOUS_UNION | 29 | #define _ANONYMOUS_UNION |
| 30 | #define _ANONYMOUS_STRUCT | 30 | #define _ANONYMOUS_STRUCT |
| 31 | #endif | 31 | #endif |