aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/libunistring/msvc-use-stdint.patch
blob: 3486361e98c37fd4f89d3c5dc68132fd8bf6b2b7 (plain)
1
2
3
4
5
6
7
8
9
10
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 \