Commit a28e8f45 by Kai Tietz Committed by Kai Tietz

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
parent 25497730
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> 2008-05-25 Eric Botcazou <ebotcazou@adacore.com>
* trans.c (Attribute_to_gnu) <Code_Address>: Set TREE_NO_TRAMPOLINE * trans.c (Attribute_to_gnu) <Code_Address>: Set TREE_NO_TRAMPOLINE
...@@ -93,10 +93,16 @@ ...@@ -93,10 +93,16 @@
version instead of the previous enhanced version to ease building GNAT on 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 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 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 \ #define STD_MINGW ((__MINGW32_MAJOR_VERSION == 1 \
&& __MINGW32_MINOR_VERSION >= 3) \ && __MINGW32_MINOR_VERSION >= 3) \
|| (__MINGW32_MAJOR_VERSION >= 2)) || (__MINGW32_MAJOR_VERSION >= 2))
#endif
#define OLD_MINGW (!(STD_MINGW)) #define OLD_MINGW (!(STD_MINGW))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment