freebsd-ports/databases/kyotocabinet/files/patch-kccommon.h
Sunpoet Po-Chuan Hsieh f6144636ac - Allow build with clang [1]
- Remove explicit -lstdc++
- Bump PORTREVISION for package change

Submitted by:	vanilla [1]
2013-12-30 09:08:08 +00:00

11 lines
405 B
C++

--- 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>