diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2024-04-09 20:47:01 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2024-04-09 20:47:01 +0200 |
commit | 0bbcbb72070d7f61b5d6e70093e3ccfdc7d091fa (patch) | |
tree | 38635275c22107295b8d982379b52d46598a9499 /hex.c | |
parent | d57db951aa8b67e413cdd4a59d7d3c6fc06eafd7 (diff) | |
download | hex-0bbcbb72070d7f61b5d6e70093e3ccfdc7d091fa.tar.gz hex-0bbcbb72070d7f61b5d6e70093e3ccfdc7d091fa.tar.xz hex-0bbcbb72070d7f61b5d6e70093e3ccfdc7d091fa.zip |
Fix build on Alpine
Diffstat (limited to 'hex.c')
-rw-r--r-- | hex.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -71,6 +71,12 @@ enum #include <lua.h> #include <lualib.h> #include <lauxlib.h> + +// This test is too annoying to do in CMake due to CheckTypeSize() being unable +// to take link_directories(), and the Lua constant is documented. +#if LUA_MAXINTEGER < INT64_MAX +#error Lua must have at least 64-bit integers +#endif #endif // WITH_LUA #define APP_TITLE PROGRAM_NAME ///< Left top corner |