aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/ode/arm64-msvc.diff
blob: d742a628e5371090ee3f2e415efbce9cb063b2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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