aboutsummaryrefslogtreecommitdiff
path: root/databases/kyotocabinet/files/patch-kccommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/kyotocabinet/files/patch-kccommon.h')
-rw-r--r--databases/kyotocabinet/files/patch-kccommon.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/kyotocabinet/files/patch-kccommon.h b/databases/kyotocabinet/files/patch-kccommon.h
new file mode 100644
index 000000000000..57cf0a1a9d9c
--- /dev/null
+++ b/databases/kyotocabinet/files/patch-kccommon.h
@@ -0,0 +1,11 @@
+--- kccommon.h.orig 2012-05-25 00:27:59.000000000 +0800
++++ kccommon.h 2013-12-28 01:25:49.838357594 +0800
+@@ -82,7 +82,7 @@
+ using ::snprintf;
+ }
+
+-#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER)
++#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) || defined(_LIBCPP_VERSION)
+
+ #include <unordered_map>
+ #include <unordered_set>