diff options
author | Kai Tietz <kai.tietz@onevision.com> | 2008-05-26 08:28:54 +0000 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2008-05-26 10:28:54 +0200 |
commit | a28e8f45c361a5c7799b59d9d38a5353d1a9bb6a (patch) | |
tree | c22861c291f37352df3a9fa4e84fa9b9cb464d92 /gcc/ada | |
parent | 25497730f69beb06d1a4055f18c1ace3c6898c6c (diff) | |
download | gcc-a28e8f45c361a5c7799b59d9d38a5353d1a9bb6a.zip gcc-a28e8f45c361a5c7799b59d9d38a5353d1a9bb6a.tar.gz gcc-a28e8f45c361a5c7799b59d9d38a5353d1a9bb6a.tar.bz2 |
mingw32.h (STD_MINGW): Set to true for target w64.
2008-05-26 Kai Tietz <kai.tietz@onevision.com>
* mingw32.h (STD_MINGW): Set to true for target w64.
From-SVN: r135894
Diffstat (limited to 'gcc/ada')
-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)) |