diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/xcb-util/ssize.patch | |
Diffstat (limited to 'vcpkg/ports/xcb-util/ssize.patch')
| -rw-r--r-- | vcpkg/ports/xcb-util/ssize.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vcpkg/ports/xcb-util/ssize.patch b/vcpkg/ports/xcb-util/ssize.patch new file mode 100644 index 0000000..3b32713 --- /dev/null +++ b/vcpkg/ports/xcb-util/ssize.patch @@ -0,0 +1,15 @@ +diff --git a/src/event.c b/src/event.c +index 88058c4e7..3bc0d635f 100644 +--- a/src/event.c ++++ b/src/event.c +@@ -38,6 +38,10 @@ + + #include <sys/types.h> + ++#if !defined ssize_t && defined(_WIN32) ++ #define ssize_t ptrdiff_t ++#endif ++ + #define ssizeof(foo) (ssize_t)sizeof(foo) + #define countof(foo) (ssizeof(foo) / ssizeof(foo[0])) + |