summaryrefslogtreecommitdiff
path: root/devel/korelib/files/patch-hash_map
blob: 5a4ca72bc384e1348f3eb1e4bed7557a99ad0aa4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- include/kore/metainfo.h	Mon May 20 10:26:01 2002
+++ include/kore/metainfo.h	Wed Jul 24 19:24:03 2002
@@ -9,3 +9,9 @@
 #else
-#include <hash_map>
+#	if defined(__GNUC__) && __GNUC__ > 2
+#		include <ext/hash_map>
+#		include <ext/stl_hash_fun.h>
+		using namespace __gnu_cxx;
+#	else
+#		include <hash_map>
+#	endif
 #endif
--- kore/metainfo.cpp	Mon May 20 10:26:01 2002
+++ kore/metainfo.cpp	Wed Jul 24 19:25:25 2002
@@ -2,4 +2,3 @@
 #include <vector>
-#include <iostream.h>
-#include <hash_map>
+#include <iostream>
 using namespace kore;
--- kore/componenttrader.cpp	Mon May 20 10:26:01 2002
+++ kore/componenttrader.cpp	Wed Jul 24 19:26:48 2002
@@ -7,3 +7,2 @@
 //#ifdef _WIN32
-#include <hash_map>
 #include <vector>