aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/parmetis/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/parmetis/use_stdint.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/parmetis/use_stdint.patch')
-rw-r--r--vcpkg/ports/parmetis/use_stdint.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/parmetis/use_stdint.patch b/vcpkg/ports/parmetis/use_stdint.patch
new file mode 100644
index 0000000..5b239e6
--- /dev/null
+++ b/vcpkg/ports/parmetis/use_stdint.patch
@@ -0,0 +1,22 @@
+diff --git a/metis/GKlib/ms_stdint.h b/metis/GKlib/ms_stdint.h
+index 7e200dc..0d07a7a 100644
+--- a/metis/GKlib/ms_stdint.h
++++ b/metis/GKlib/ms_stdint.h
+@@ -42,6 +42,10 @@
+
+ #include <limits.h>
+
++#if(_MSC_VER >= 1900)
++ #include <stdint.h>
++#else
++
+ // For Visual Studio 6 in C++ mode wrap <wchar.h> include with 'extern "C++" {}'
+ // or compiler give many errors like this:
+ // error C2733: second C linkage of overloaded function 'wmemchr' not allowed
+@@ -218,5 +222,6 @@ typedef uint64_t uintmax_t;
+
+ #endif // __STDC_CONSTANT_MACROS ]
+
++#endif
+
+ #endif // _MSC_STDINT_H_ ]