aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libunistring/msvc-use-stdint.patch
diff options
context:
space:
mode:
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 \