From 8e80de84b580675d30bd780d6066592c277b3576 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Mon, 23 Mar 2020 08:12:33 +0100 Subject: [PATCH] Proper include guard for OpenBSD and FreeBSD: std::string_ref is available there. --- ext/lmdb-safe/lmdb-safe.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/lmdb-safe/lmdb-safe.hh b/ext/lmdb-safe/lmdb-safe.hh index e5fe14a1de..056a6cd823 100644 --- a/ext/lmdb-safe/lmdb-safe.hh +++ b/ext/lmdb-safe/lmdb-safe.hh @@ -13,7 +13,7 @@ #include // apple compiler somehow has string_view even in c++11! -#if __cplusplus < 201703L && !defined(__APPLE__) +#if __cplusplus < 201703L && !defined(__APPLE__) && !defined(__OpenBSD__) && !defined(__FreeBSD__) #include #if BOOST_VERSION >= 106100 #include -- 2.39.2