18c784bb8SWarner Losh /* 28c784bb8SWarner Losh * Copyright (c) 2023, Netflix, Inc 38c784bb8SWarner Losh * 48c784bb8SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 58c784bb8SWarner Losh */ 68c784bb8SWarner Losh 78c784bb8SWarner Losh #pragma once 88c784bb8SWarner Losh 98c784bb8SWarner Losh /* 108c784bb8SWarner Losh * We need to always define this. For the boot loader, we use it. For flua 118c784bb8SWarner Losh * we don't, but it needs to be defined to keep some ifdefs happy. 128c784bb8SWarner Losh */ 138c784bb8SWarner Losh #define LUA_FLOAT_INT64 4 148c784bb8SWarner Losh 158c784bb8SWarner Losh #define LUA_USE_POSIX 168c784bb8SWarner Losh #ifndef BOOTSTRAPPING 178c784bb8SWarner Losh #define LUA_USE_DLOPEN 188c784bb8SWarner Losh #endif 198c784bb8SWarner Losh 208c784bb8SWarner Losh #undef LUA_ROOT 218c784bb8SWarner Losh #undef LUA_LDIR 228c784bb8SWarner Losh #undef LUA_CDIR 238c784bb8SWarner Losh #define LUA_ROOT "/usr/" 248c784bb8SWarner Losh #define LUA_LDIR LUA_ROOT "share/flua/" 258c784bb8SWarner Losh #define LUA_CDIR LUA_ROOT "lib/flua/" 26