harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r680671 - /harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Stl.h
Date Tue, 29 Jul 2008 11:18:08 GMT
Author: hindessm
Date: Tue Jul 29 04:18:08 2008
New Revision: 680671

URL: http://svn.apache.org/viewvc?rev=680671&view=rev
Log:
Fix compiler error on g++ 4.3.

Modified:
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Stl.h

Modified: harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Stl.h
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Stl.h?rev=680671&r1=680670&r2=680671&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Stl.h (original)
+++ harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Stl.h Tue Jul 29 04:18:08 2008
@@ -42,11 +42,15 @@
 
 #include <ext/hash_set>
 #include <ext/hash_map>
+#if (defined __GNUC__) && ((__GNUC__ >= 4 && __GNUC_MINOR__ > 2))
+#include <backward/hash_fun.h>
+#else
 #if (defined __GNUC__) && ((__GNUC__ >= 3 && __GNUC_MINOR__ > 3) ||
__GNUC__ > 3)
 #include <ext/hash_fun.h>
 #else
 #include <ext/stl_hash_fun.h>
 #endif
+#endif
 
 
 #else



Mime
View raw message