aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ode/arm64-msvc.diff
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/ode/arm64-msvc.diff')
-rw-r--r--vcpkg/ports/ode/arm64-msvc.diff22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/ode/arm64-msvc.diff b/vcpkg/ports/ode/arm64-msvc.diff
new file mode 100644
index 0000000..d742a62
--- /dev/null
+++ b/vcpkg/ports/ode/arm64-msvc.diff
@@ -0,0 +1,22 @@
+diff --git a/include/ode/odeconfig.h b/include/ode/odeconfig.h
+index 5ac58e7..21481b3 100644
+--- a/include/ode/odeconfig.h
++++ b/include/ode/odeconfig.h
+@@ -142,10 +142,17 @@ typedef unsigned long duint64;
+ typedef signed char dint8;
+ typedef unsigned char duint8;
+
++# if defined(_M_ARM64)
++ typedef dint64 dintptr;
++ typedef duint64 duintptr;
++ typedef dint64 ddiffint;
++ typedef duint64 dsizeint;
++# else
+ typedef dint32 dintptr;
+ typedef duint32 duintptr;
+ typedef dint32 ddiffint;
+ typedef duint32 dsizeint;
++# endif
+
+ #endif
+