mascarenhas/alien

alien.c:358:54: error: ‘FFI_SYSV’ undeclared here (not in a function)

senlinding opened this issue · 1 comments

alien.c:358:54: error: ‘FFI_SYSV’ undeclared here (not in a function)

I ran into this and was able to solve it by modifying alien.c and adding these lines:

#if defined (X86_64) || defined (__x86_64__)
#define FFI_SYSV FFI_UNIX64
#endif

and it compiled and ran successfully