From 69030f44c1e7afe16efe96c1698464874f541aae Mon Sep 17 00:00:00 2001 From: "jingzhao@chromium.org" Date: Wed, 23 Nov 2011 03:31:33 +0000 Subject: Upstream: Third-party change to build net_unittests for Android. BUG= TEST= Review URL: http://codereview.chromium.org/8547010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111305 0039d316-1c4b-4281-b951-d872f2087c98 --- third_party/protobuf/config.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'third_party/protobuf') diff --git a/third_party/protobuf/config.h b/third_party/protobuf/config.h index 3d38f04..dcc0041 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 */ +#if defined(USE_STLPORT) +#define HASH_MAP_H +#else #define HASH_MAP_H +#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 */ #define HASH_SET_CLASS hash_set /* the location of */ +#if defined(USE_STLPORT) +#define HASH_SET_H +#else #define HASH_SET_H +#endif /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 -- cgit v1.1