stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r351539 - /incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp
Date Fri, 02 Dec 2005 00:28:45 GMT
Author: sebor
Date: Thu Dec  1 16:28:41 2005
New Revision: 351539

URL: http://svn.apache.org/viewcvs?rev=351539&view=rev
Log:
2005-12-01  Martin Sebor  <sebor@roguewave.com>

	* STD_BAD_TYPEID.cpp: Guarded the conditional definition
	of std::terminate against compiling with anything other
	than gcc 2.x.

Modified:
    incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp

Modified: incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp?rev=351539&r1=351538&r2=351539&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp (original)
+++ incubator/stdcxx/trunk/etc/config/src/STD_BAD_TYPEID.cpp Thu Dec  1 16:28:41 2005
@@ -23,8 +23,9 @@
 #endif   // _RWSTD_NO_TYPEINFO
 
 
-#ifndef _RWSTD_NO_HONOR_STD
-#  ifdef _RWSTD_NO_STD_TERMINATE
+#if 2 == __GNUG__
+#  ifndef _RWSTD_NO_HONOR_STD
+#    ifdef _RWSTD_NO_STD_TERMINATE
 
 namespace std {
 
@@ -40,8 +41,9 @@
 
 }   // namespace std
 
-#  endif   // _RWSTD_NO_STD_TERMINATE
-#endif   // _RWSTD_NO_HONOR_STD
+#    endif   // _RWSTD_NO_STD_TERMINATE
+#  endif   // _RWSTD_NO_HONOR_STD
+#endif   // gcc 2.x
 
 
 // force a failure if namespace std isn't honored



Mime
View raw message