vcpkg/ports/gdal/0008-Fix-absl-string_view.patch
Kai Pastor e10f7850fe
[gdal] Update to 3.3.2 (#20765)
* Update gdal to 3.3.2, switch to github

* Don't use absl::string_view

* Update versions

* [skip actions] CI

* Mingw needs json-c

* Update versions
2021-10-19 18:26:37 -07:00

14 lines
634 B
Diff

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;