vcpkg/ports/valijson/fix-picojson.patch
misirlou-tg 451d6664e4
[valijson] Update to version 0.6 (#20269)
* Update varijson to version 0.6

Removing fix-nlohmann-json.patch, this patch is no longer needed

* Run x-add-version
2021-09-22 13:23:22 -07:00

35 lines
1012 B
Diff

diff --git a/include/valijson/adapters/picojson_adapter.hpp b/include/valijson/adapters/picojson_adapter.hpp
index 4f5e5b6..0da2bf2 100644
--- a/include/valijson/adapters/picojson_adapter.hpp
+++ b/include/valijson/adapters/picojson_adapter.hpp
@@ -29,10 +29,10 @@
#ifdef _MSC_VER
#pragma warning(disable: 4706)
-#include <picojson.h>
+#include <picojson/picojson.h>
#pragma warning(default: 4706)
#else
-#include <picojson.h>
+#include <picojson/picojson.h>
#endif
#include <valijson/adapters/adapter.hpp>
diff --git a/include/valijson/utils/picojson_utils.hpp b/include/valijson/utils/picojson_utils.hpp
index 36420d2..8660c30 100644
--- a/include/valijson/utils/picojson_utils.hpp
+++ b/include/valijson/utils/picojson_utils.hpp
@@ -4,10 +4,10 @@
#ifdef _MSC_VER
#pragma warning(disable: 4706)
-#include <picojson.h>
+#include <picojson/picojson.h>
#pragma warning(default: 4706)
#else
-#include <picojson.h>
+#include <picojson/picojson.h>
#endif
#include <valijson/utils/file_utils.hpp>