diff options
| -rw-r--r-- | gcc/ada/ChangeLog | 4 | ||||
| -rw-r--r-- | gcc/ada/mingw32.h | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index c2ffb5e..25e2fe8 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2008-05-26 Kai Tietz <kai.tietz@onevision.com> + + * mingw32.h (STD_MINGW): Set to true for target w64. + 2008-05-25 Eric Botcazou <ebotcazou@adacore.com> * trans.c (Attribute_to_gnu) <Code_Address>: Set TREE_NO_TRAMPOLINE diff --git a/gcc/ada/mingw32.h b/gcc/ada/mingw32.h index 8018e14..e8d9555 100644 --- a/gcc/ada/mingw32.h +++ b/gcc/ada/mingw32.h @@ -93,10 +93,16 @@ version instead of the previous enhanced version to ease building GNAT on Windows platforms. By using STD_MINGW or OLD_MINGW it is possible to build GNAT using both MingW include files (Old MingW + ACT changes and standard - MingW starting with version 1.3. */ + MingW starting with version 1.3. + For w64 Mingw the define STD_MINGW is always set to value 1, because + there is no old header set present. */ +#ifdef _WIN64 +#define STD_MINGW 1 +#else #define STD_MINGW ((__MINGW32_MAJOR_VERSION == 1 \ && __MINGW32_MINOR_VERSION >= 3) \ || (__MINGW32_MAJOR_VERSION >= 2)) +#endif #define OLD_MINGW (!(STD_MINGW)) |
