From 41ef7f433317f1a7066d81c9c627dc538e2ed24a Mon Sep 17 00:00:00 2001
From: Frank Gaede <frank.gaede@desy.de>
Date: Tue, 13 Aug 2019 11:58:24 +0200
Subject: [PATCH] fix include for string_view on mac

---
 GaudiPluginService/src/PluginServiceV2.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GaudiPluginService/src/PluginServiceV2.cpp b/GaudiPluginService/src/PluginServiceV2.cpp
index 4c8d4dc2b..3bad34053 100644
--- a/GaudiPluginService/src/PluginServiceV2.cpp
+++ b/GaudiPluginService/src/PluginServiceV2.cpp
@@ -39,7 +39,7 @@ namespace fs = boost::filesystem;
 namespace fs = std::filesystem;
 #endif // USE_BOOST_FILESYSTEM
 
-#if __cplusplus >= 201703
+#if __cplusplus >= 201703 || (__clang__ && __APPLE__)
 #  include <string_view>
 #else
 #  include <experimental/string_view>
-- 
GitLab