[ros-diffs] [akhaldi] 48133: [MINGW-W64] - Group MSVC related definitions.
akhaldi at svn.reactos.org
akhaldi at svn.reactos.org
Tue Jul 20 13:04:57 UTC 2010
Author: akhaldi
Date: Tue Jul 20 13:04:56 2010
New Revision: 48133
URL: http://svn.reactos.org/svn/reactos?rev=48133&view=rev
Log:
[MINGW-W64]
- Group MSVC related definitions.
Modified:
trunk/reactos/include/reactos/mingw-w64/sect_attribs.h
Modified: trunk/reactos/include/reactos/mingw-w64/sect_attribs.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/mingw-w64/sect_attribs.h?rev=48133&r1=48132&r2=48133&view=diff
==============================================================================
--- trunk/reactos/include/reactos/mingw-w64/sect_attribs.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/mingw-w64/sect_attribs.h [iso-8859-1] Tue Jul 20 13:04:56 2010
@@ -4,13 +4,14 @@
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
-#if defined (__ia64__) || defined (__x86_64)
+#if defined(_MSC_VER)
+
+#if defined(_M_IA64) || defined(_M_AMD64)
#define _ATTRIBUTES
#else
#define _ATTRIBUTES shared
#endif
-#if defined(_MSC_VER)
/* Reference list of existing section for msvcrt. */
#pragma section(".CRTMP$XCA",long,_ATTRIBUTES)
#pragma section(".CRTMP$XCZ",long,_ATTRIBUTES)
@@ -59,7 +60,7 @@
#pragma section(".tls",long,read,write)
#pragma section(".tls$AAA",long,read,write)
#pragma section(".tls$ZZZ",long,read,write)
-#endif
+#endif /* _MSC_VER */
#if defined(_MSC_VER)
#define _CRTALLOC(x) __declspec(allocate(x))
@@ -68,3 +69,4 @@
#else
#error Your compiler is not supported.
#endif
+
More information about the Ros-diffs
mailing list