From 398833ebe333efa751c52d2fa0f0a940d1d9878b Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Sun, 14 May 2023 09:18:54 -0500 Subject: [PATCH] Enable FFI module unconditionally. --- src/conf/janetconf.h | 4 ++-- src/include/janet.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/conf/janetconf.h b/src/conf/janetconf.h index 13d7f4ff..73e39d55 100644 --- a/src/conf/janetconf.h +++ b/src/conf/janetconf.h @@ -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" */ diff --git a/src/include/janet.h b/src/include/janet.h index c88cd35c..941a6c35 100644 --- a/src/include/janet.h +++ b/src/include/janet.h @@ -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