mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 21:07:59 +03:00
Disable special processing of Lua errors in debug builds. Fixes #6151.
This commit is contained in:
parent
83af0402b8
commit
84721fb58a
1 changed files with 3 additions and 0 deletions
3
extern/sol_config/sol/config.hpp
vendored
3
extern/sol_config/sol/config.hpp
vendored
|
@ -6,10 +6,13 @@
|
||||||
#define SOL_SAFE_FUNCTION_CALLS 1
|
#define SOL_SAFE_FUNCTION_CALLS 1
|
||||||
#define SOL_SAFE_FUNCTION 1
|
#define SOL_SAFE_FUNCTION 1
|
||||||
#define SOL_NO_NIL 0
|
#define SOL_NO_NIL 0
|
||||||
|
#define SOL_IN_DEBUG_DETECTED 0
|
||||||
|
|
||||||
#ifndef NO_LUAJIT
|
#ifndef NO_LUAJIT
|
||||||
#define SOL_LUAJIT 1
|
#define SOL_LUAJIT 1
|
||||||
#define SOL_EXCEPTIONS_SAFE_PROPAGATION 0
|
#define SOL_EXCEPTIONS_SAFE_PROPAGATION 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <limits> // missing in sol/sol.hpp
|
||||||
|
|
||||||
#endif // SOL_SINGLE_CONFIG_HPP
|
#endif // SOL_SINGLE_CONFIG_HPP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue