We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc87573 commit 6ab0cb2Copy full SHA for 6ab0cb2
include/ghc/filesystem.hpp
@@ -240,6 +240,9 @@
240
#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
241
#elif defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 9)) || (__GNUC__ > 4)) && (__cplusplus >= 201402)
242
243
+#elif defined(__GLIBCXX__) && defined(_GLIBCXX_USE_DUAL_ABI) && (__cplusplus >= 201402)
244
+// macro _GLIBCXX_USE_DUAL_ABI is always defined in libstdc++ from gcc-5 and newer
245
+#define GHC_HAS_STD_EXPERIMENTAL_STRING_VIEW
246
#endif
247
248
#if defined(GHC_HAS_STD_STRING_VIEW)
0 commit comments