1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 11:09:54 +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

@ -6,8 +6,8 @@
#define JANET_VERSION_MAJOR 1
#define JANET_VERSION_MINOR 28
#define JANET_VERSION_PATCH 0
#define JANET_VERSION_EXTRA ""
#define JANET_VERSION "1.28.0"
#define JANET_VERSION_EXTRA "-dev"
#define JANET_VERSION "1.28.0-dev"
/* #define JANET_BUILD "local" */

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