aboutsummaryrefslogtreecommitdiffstats
path: root/community/ecl/fix-build-with-libffi-3.3.patch
blob: dbb31fb24fdb20b2dc59a5fbb6fcaa053a8615b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/src/c/ffi.d b/src/c/ffi.d
index 8174977..caa69f3 100644
--- a/src/c/ffi.d
+++ b/src/c/ffi.d
@@ -133,8 +133,8 @@ static struct {
 #elif defined(X86_WIN64)
   {@':win64', FFI_WIN64},
 #elif defined(X86_ANY) || defined(X86) || defined(X86_64)
-  {@':cdecl', FFI_SYSV},
-  {@':sysv', FFI_SYSV},
+  {@':cdecl', FFI_UNIX64},
+  {@':sysv', FFI_UNIX64},
   {@':unix64', FFI_UNIX64},
 #endif
 };