16 lines
492 B
Diff
16 lines
492 B
Diff
diff --git a/extensions/ffi.c b/extensions/ffi.c
|
||
index c6a16d79..02e5c268 100644
|
||
--- a/extensions/ffi.c
|
||
+++ b/extensions/ffi.c
|
||
@@ -2670,9 +2670,9 @@ word* OLVM_ffi(olvm_t* this, word arguments)
|
||
j = l;
|
||
}
|
||
else { // в регистр с плавающей запятой
|
||
+#if (__x86_64__ && (__unix__ || __APPLE__))
|
||
// move from ptr to the ad
|
||
*(int64_t*)&ad[d++] = args[j];
|
||
-#if (__x86_64__ && (__unix__ || __APPLE__))
|
||
fpmask |= 1;
|
||
#endif
|
||
}
|