Skip to content

Commit

Permalink
Fix Android build
Browse files Browse the repository at this point in the history
  • Loading branch information
olanti-p committed Nov 13, 2023
1 parent ba6cc1d commit 4c000d4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/sol/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ the build system, or the command line options of your compiler.

// We compile Lua parts with C++ compiler, so sol doesn't need to use extern "C"
#define SOL_BUILD_CXX_MODE 1
#define SOL_USE_CXX_LUA 1
// Ugly hack so non-CMake builds work
#if defined(CMAKE)
# define SOL_USE_CXX_LUA 1
#endif

// Be helpful and verbose, even at the cost of speed
#define SOL_ALL_SAFETIES_ON 1
Expand Down

0 comments on commit 4c000d4

Please sign in to comment.