Created
November 8, 2013 04:35
-
-
Save eungju/7366318 to your computer and use it in GitHub Desktop.
A patch for kyotocabinet.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ru kyotocabinet-1.2.76/kccommon.h kyotocabinet-1.2.76-mavericks/kccommon.h | |
--- kyotocabinet-1.2.76/kccommon.h 2012-05-25 01:27:59.000000000 +0900 | |
+++ kyotocabinet-1.2.76-mavericks/kccommon.h 2013-11-08 13:22:57.000000000 +0900 | |
@@ -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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment