stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r702195 - /stdcxx/branches/4.2.x/include/rw/_atomic.h
Date Mon, 06 Oct 2008 16:28:02 GMT
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  <faridz@apache.org>

	* 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__) \



Mime
View raw message