From: Otto Moerbeek Date: Fri, 20 Mar 2020 11:58:05 +0000 (+0100) Subject: On OpenBSD string_view is both in boost and std X-Git-Tag: dnsdist-1.5.0-rc1~30^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae69f67eb3239289d3cda8dc6f361478cf0d259a;p=thirdparty%2Fpdns.git On OpenBSD string_view is both in boost and std --- diff --git a/pdns/dnsdistdist/views.hh b/pdns/dnsdistdist/views.hh index afd72f6c2e..d2b1dcb9e3 100644 --- a/pdns/dnsdistdist/views.hh +++ b/pdns/dnsdistdist/views.hh @@ -23,7 +23,7 @@ #pragma once // apple compiler somehow has string_view even in c++11! -#if __cplusplus < 201703L && !defined(__APPLE__) +#if __cplusplus < 201703L && !defined(__APPLE__) && !defined(__OpenBSD__) #include #if BOOST_VERSION >= 106100 #include