vcpkg/ports/libexif/fix-ssize.patch

17 lines
334 B
Diff
Raw Normal View History

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>