Author: faridz
Date: Mon Oct 6 09:28:02 2008
New Revision: 702195
URL: http://svn.apache.org/viewvc?rev=702195&view=rev
Log:
2008-10-06 Farid Zaripov <[EMAIL PROTECTED]>
* include/rw/_atomic.h: Check for __GNUG__ instead of __GNUC__ for
consistency.
Correct preprocessor condition for ICC on __i386__ and __x86_64
platforms.
Modified:
stdcxx/branches/4.2.x/include/rw/_atomic.h
Modified: stdcxx/branches/4.2.x/include/rw/_atomic.h
URL:
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_atomic.h?rev=702195&r1=702194&r2=702195&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_atomic.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_atomic.h Mon Oct 6 09:28:02 2008
@@ -57,8 +57,9 @@
# include <rw/_atomic-mipspro.h>
# elif defined (_PA_RISC2_0)
# include <rw/_atomic-parisc.h>
-# elif defined (__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 401) \
+# elif defined (__GNUG__) && (__GNUC__ * 100 + __GNUC_MINOR__ >= 401) \
&& (defined (__i386__) || defined (__x86_64) || defined (__ia64)) \
+ && !defined (__INTEL_COMPILER) \
|| (defined (__INTEL_COMPILER) && defined (__ia64))
# include <rw/_atomic-sync.h>
# elif defined (__i386__) && (defined (__GNUG__) \