summaryrefslogtreecommitdiff
path: root/stlport
diff options
context:
space:
mode:
authorFridrich Strba <fridrich.strba@bluewin.ch>2011-02-03 01:55:09 -0700
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-02-03 10:12:12 +0100
commitffc47ff79631a80dbc7e497e7e9caec9751820e2 (patch)
tree18dfbb742fd9dd08bb16543a924d3dab7f1b057b /stlport
parent1a60bef59efd38933d89125abadb8883e96fda7a (diff)
Adapt the forwarding headers to MSVC compiler
Diffstat (limited to 'stlport')
-rw-r--r--stlport/systemstl/functional4
-rw-r--r--stlport/systemstl/hash_map9
-rw-r--r--stlport/systemstl/hash_set9
-rw-r--r--stlport/systemstl/numeric4
-rw-r--r--stlport/systemstl/vector4
5 files changed, 30 insertions, 0 deletions
diff --git a/stlport/systemstl/functional b/stlport/systemstl/functional
index 50d6505038a1..2c555ba2573d 100644
--- a/stlport/systemstl/functional
+++ b/stlport/systemstl/functional
@@ -56,8 +56,12 @@ namespace std
}
#else
+#ifdef _MSC_VER
+#include <../include/functional>
+#else
# error UNSUPPORTED COMPILER
#endif
+#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stlport/systemstl/hash_map b/stlport/systemstl/hash_map
index 083188d1c504..8dfc514027e3 100644
--- a/stlport/systemstl/hash_map
+++ b/stlport/systemstl/hash_map
@@ -74,8 +74,17 @@ namespace std
}
#else
+#ifdef _MSC_VER
+#define USE_MSVC_HASH_MAP
+#include <../include/hash_map>
+namespace std
+{
+ using namespace stdext;
+}
+#else
# error UNSUPPORTED COMPILER
#endif
+#endif
#endif
diff --git a/stlport/systemstl/hash_set b/stlport/systemstl/hash_set
index f7b0ffc3c013..9704396da066 100644
--- a/stlport/systemstl/hash_set
+++ b/stlport/systemstl/hash_set
@@ -46,8 +46,17 @@ namespace std
using __gnu_cxx::hash_multiset;
}
#else
+#ifdef _MSC_VER
+#define USE_MSVC_HASH_SET
+#include <../include/hash_set>
+namespace std
+{
+ using namespace stdext;
+}
+#else
# error UNSUPPORTED COMPILER
#endif
+#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stlport/systemstl/numeric b/stlport/systemstl/numeric
index 13e3f09059fa..61a06888f22b 100644
--- a/stlport/systemstl/numeric
+++ b/stlport/systemstl/numeric
@@ -47,8 +47,12 @@ namespace std
# endif
#else
+#ifdef _MSC_VER
+#include <../include/numeric>
+#else
# error UNSUPPORTED COMPILER
#endif
+#endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/stlport/systemstl/vector b/stlport/systemstl/vector
index 965753c20ae2..8a50edafed20 100644
--- a/stlport/systemstl/vector
+++ b/stlport/systemstl/vector
@@ -44,7 +44,11 @@ namespace std
}
#else
+#ifdef _MSC_VER
+#include <../include/vector>
+#else
#error UNSUPPORTED COMPILER
#endif
#endif
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */