You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2008/07/29 13:18:08 UTC
svn commit: r680671 -
/harmony/enhanced/drlvm/trunk/vm/jitrino/src/shared/Stl.h
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