Skip to content

Commit

Permalink
On OpenBSD string_view is both in boost and std
Browse files Browse the repository at this point in the history
  • Loading branch information
omoerbeek committed Mar 20, 2020
1 parent 7ac5e35 commit ae69f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/dnsdistdist/views.hh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <boost/version.hpp>
#if BOOST_VERSION >= 106100
#include <boost/utility/string_view.hpp>
Expand Down

0 comments on commit ae69f67

Please sign in to comment.