aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libunistring/msvc-use-stdint.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/libunistring/msvc-use-stdint.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/libunistring/msvc-use-stdint.patch')
-rw-r--r--vcpkg/ports/libunistring/msvc-use-stdint.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcpkg/ports/libunistring/msvc-use-stdint.patch b/vcpkg/ports/libunistring/msvc-use-stdint.patch
new file mode 100644
index 0000000..3486361
--- /dev/null
+++ b/vcpkg/ports/libunistring/msvc-use-stdint.patch
@@ -0,0 +1,11 @@
+--- a/lib/Makefile.am 2025-09-18 14:31:56.883185700 +0100
++++ b/lib/Makefile.am 2025-09-18 14:32:34.860321900 +0100
+@@ -101,7 +101,7 @@
+ rm -f $@-t $@
+ { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
+ echo '#include <stddef.h>'; \
+- echo '#if __GLIBC__ >= 2'; \
++ echo '#if __GLIBC__ >= 2 || (defined(_MSC_VER) && _MSC_VER >= 1600)'; \
+ echo '#include <stdint.h>'; \
+ echo '#else'; \
+ if test -f /usr/include/stdint.h; then \