zeek/auxil/vcpkg/ports/ode/arm64-msvc.diff
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

23 lines
628 B
Diff

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