vcpkg/ports/libexif/fix-ssize.patch
Frank 24ae27eb23
[libexif] Change to the official build system (#32114)
* [vtk] Fix the dependency curl of proj

* version

* [libexif] Change to the official build system

* add port-version

* version

* revert

* libexif

* version

* default feature nls

* version

* update

* format

* version

* revert

* vdb

* version
2023-12-01 01:57:19 -08:00

17 lines
334 B
Diff

diff --git a/libexif/exif-loader.c b/libexif/exif-loader.c
index ad4ae96..8a24ef6 100644
--- a/libexif/exif-loader.c
+++ b/libexif/exif-loader.c
@@ -19,6 +19,11 @@
*/
#include <config.h>
+#ifdef _WIN32
+#include <stddef.h>
+#define ssize_t ptrdiff_t
+#endif
+
#include <libexif/exif-loader.h>
#include <libexif/exif-utils.h>