Index: third_party/protobuf/config.h |
diff --git a/third_party/protobuf/config.h b/third_party/protobuf/config.h |
index 3d38f047cda6a2c4a9c76379ba2adf334ae4000b..dcc0041c2fe5847b509398f6e600b76c3e538555 100644 |
--- a/third_party/protobuf/config.h |
+++ b/third_party/protobuf/config.h |
@@ -5,16 +5,28 @@ |
#define HASH_MAP_CLASS hash_map |
/* the location of <hash_map> */ |
+#if defined(USE_STLPORT) |
+#define HASH_MAP_H <hash_map> |
+#else |
#define HASH_MAP_H <ext/hash_map> |
+#endif |
/* the namespace of hash_map/hash_set */ |
+#if defined(USE_STLPORT) |
+#define HASH_NAMESPACE std |
+#else |
#define HASH_NAMESPACE __gnu_cxx |
+#endif |
/* the name of <hash_set> */ |
#define HASH_SET_CLASS hash_set |
/* the location of <hash_set> */ |
+#if defined(USE_STLPORT) |
+#define HASH_SET_H <hash_set> |
+#else |
#define HASH_SET_H <ext/hash_set> |
+#endif |
/* Define to 1 if you have the <dlfcn.h> header file. */ |
#define HAVE_DLFCN_H 1 |