From 2a8629c6707b6a2a1a62e1dc6e7a2f7bdf96c839 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Sun, 2 Oct 2016 17:00:03 +0200 Subject: [PATCH] Fixes #3826: disable Lua platform optimizations (lua_number2integer() behaves the same way on all platforms) --- radio/src/thirdparty/Lua/src/luaconf.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/src/thirdparty/Lua/src/luaconf.h b/radio/src/thirdparty/Lua/src/luaconf.h index e45adc4b6..00258505c 100644 --- a/radio/src/thirdparty/Lua/src/luaconf.h +++ b/radio/src/thirdparty/Lua/src/luaconf.h @@ -15,6 +15,8 @@ #define USE_FATFS #endif +#define LUA_ANSI // force ANSI mode: lua_number2integer() behaves the same way on all platforms (#3826) + /* ** ================================================================== ** Search for "@@" to find all configurable definitions.