1
0
mirror of https://github.com/janet-lang/janet synced 2025-11-08 19:43:41 +00:00

Enable FFI module unconditionally.

This commit is contained in:
Calvin Rose
2023-05-14 09:18:54 -05:00
parent 358f5a03bf
commit 398833ebe3
2 changed files with 3 additions and 3 deletions

View File

@@ -182,7 +182,7 @@ extern "C" {
/* Enable or disable the FFI library. Currently, FFI only enabled on
* x86-64 operating systems. */
#ifndef JANET_NO_FFI
#if !defined(__EMSCRIPTEN__) && (defined(__x86_64__) || defined(_M_X64))
#if !defined(__EMSCRIPTEN__)
#define JANET_FFI
#endif
#endif