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/hashids/hashids.patch | |
Diffstat (limited to 'vcpkg/ports/hashids/hashids.patch')
| -rw-r--r-- | vcpkg/ports/hashids/hashids.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vcpkg/ports/hashids/hashids.patch b/vcpkg/ports/hashids/hashids.patch new file mode 100644 index 0000000..e6877fa --- /dev/null +++ b/vcpkg/ports/hashids/hashids.patch @@ -0,0 +1,18 @@ +diff --git a/src/hashids.c b/src/hashids.c
+index 7f0b2f3..8d68509 100644
+--- a/src/hashids.c
++++ b/src/hashids.c
+@@ -6,6 +6,13 @@
+
+ #include "hashids.h"
+
++#ifdef _MSC_VER
++#include <BaseTsd.h>
++typedef SSIZE_T ssize_t;
++#else
++#include <unistd.h>
++#endif
++
+ /* branch prediction hinting */
+ #ifndef __has_builtin
+ # define __has_builtin(x) (0)
|