From 84721fb58a2691d6e557bee38527e5a8a304acbf Mon Sep 17 00:00:00 2001 From: Petr Mikheev Date: Sat, 10 Jul 2021 23:43:55 +0200 Subject: [PATCH] Disable special processing of Lua errors in debug builds. Fixes #6151. --- extern/sol_config/sol/config.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extern/sol_config/sol/config.hpp b/extern/sol_config/sol/config.hpp index fc8c93e64c..3b0625c2e9 100644 --- a/extern/sol_config/sol/config.hpp +++ b/extern/sol_config/sol/config.hpp @@ -6,10 +6,13 @@ #define SOL_SAFE_FUNCTION_CALLS 1 #define SOL_SAFE_FUNCTION 1 #define SOL_NO_NIL 0 +#define SOL_IN_DEBUG_DETECTED 0 #ifndef NO_LUAJIT #define SOL_LUAJIT 1 #define SOL_EXCEPTIONS_SAFE_PROPAGATION 0 #endif +#include // missing in sol/sol.hpp + #endif // SOL_SINGLE_CONFIG_HPP