diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2020-01-06 21:19:55 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2020-01-06 21:19:55 -0800 |
commit | c940874ed6a4292eabde99e442d4356a9880b990 (patch) | |
tree | 3a62cdac04fc571e62171e41e8b8876da13c542d | |
parent | 96bf41b1824d41926d9b0e3b34d2208b99bb29d4 (diff) | |
download | txr-c940874ed6a4292eabde99e442d4356a9880b990.tar.gz txr-c940874ed6a4292eabde99e442d4356a9880b990.tar.bz2 txr-c940874ed6a4292eabde99e442d4356a9880b990.zip |
ffi: fix non-libffi build on big endian.
This is cribbed from a patch by q66 <daniel@oct***rge.org>,
commited recently to the Void Linux distro.
* ffi.c (ffi_arg): Define this type when HAVE_FFI is not enabled.
Some big-endian-specific code refers to it.
-rw-r--r-- | ffi.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -84,6 +84,7 @@ typedef struct ffi_type { char type, size; } ffi_type; #define FFI_TYPE_STRUCT 0 +typedef unsigned long ffi_arg; #endif typedef enum { |