pineapple-src/externals/vcpkg/ports/gdal/0008-Fix-absl-string_view.patch

14 lines
634 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/gdal/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/base.h b/gdal/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/base.h
index 9557380..17edcf8 100644
--- a/gdal/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/base.h
+++ b/gdal/ogr/ogrsf_frmts/flatgeobuf/flatbuffers/base.h
@@ -213,7 +213,7 @@ namespace flatbuffers {
}
#define FLATBUFFERS_HAS_STRING_VIEW 1
// Check for absl::string_view
- #elif __has_include("absl/strings/string_view.h")
+ #elif __has_include("absl/strings/string_view.h") && 0
#include "absl/strings/string_view.h"
namespace flatbuffers {
typedef absl::string_view string_view;