[complement-svn] SF.net SVN: complement:[1963] trunk/complement/explore
Status: Pre-Alpha
Brought to you by:
complement
|
From: <com...@us...> - 2008-09-08 19:55:30
|
Revision: 1963
http://complement.svn.sourceforge.net/complement/?rev=1963&view=rev
Author: complement
Date: 2008-09-08 19:55:28 +0000 (Mon, 08 Sep 2008)
Log Message:
-----------
use misc/type_traits.h for gcc before 4.x and without STLport
Modified Paths:
--------------
trunk/complement/explore/include/mt/system_error
trunk/complement/explore/lib/mt/ChangeLog
Modified: trunk/complement/explore/include/mt/system_error
===================================================================
--- trunk/complement/explore/include/mt/system_error 2008-09-08 19:54:51 UTC (rev 1962)
+++ trunk/complement/explore/include/mt/system_error 2008-09-08 19:55:28 UTC (rev 1963)
@@ -19,9 +19,12 @@
#include <stdexcept>
#ifdef STLPORT
-#include <type_traits>
+# include <type_traits>
#else
-#include <tr1/type_traits>
+# if defined(__GNUC__) && (__GNUC__ < 4)
+# include <misc/type_traits.h>
+# else
+# include <tr1/type_traits>
namespace std {
@@ -92,6 +95,8 @@
} // namesapce std
+# endif // gcc after 3.x
+
#endif
#include <cerrno>
Modified: trunk/complement/explore/lib/mt/ChangeLog
===================================================================
--- trunk/complement/explore/lib/mt/ChangeLog 2008-09-08 19:54:51 UTC (rev 1962)
+++ trunk/complement/explore/lib/mt/ChangeLog 2008-09-08 19:55:28 UTC (rev 1963)
@@ -1,3 +1,8 @@
+2008-09-08 Petr Ovtchenkov <pt...@vo...>
+
+ * system_error: use misc/type_traits.h for gcc before 4.x and
+ without STLport.
+
2008-07-30 Petr Ovtchenkov <pt...@is...>
* condition_variable: throw system_error when problem detected;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|