1*8c784bb8SWarner Losh /* 2*8c784bb8SWarner Losh * Copyright (c) 2023, Netflix, Inc 3*8c784bb8SWarner Losh * 4*8c784bb8SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 5*8c784bb8SWarner Losh */ 6*8c784bb8SWarner Losh 7*8c784bb8SWarner Losh #pragma once 8*8c784bb8SWarner Losh 9*8c784bb8SWarner Losh /* 10*8c784bb8SWarner Losh * We need to always define this. For the boot loader, we use it. For flua 11*8c784bb8SWarner Losh * we don't, but it needs to be defined to keep some ifdefs happy. 12*8c784bb8SWarner Losh */ 13*8c784bb8SWarner Losh #define LUA_FLOAT_INT64 4 14*8c784bb8SWarner Losh 15*8c784bb8SWarner Losh #define LUA_USE_POSIX 16*8c784bb8SWarner Losh #ifndef BOOTSTRAPPING 17*8c784bb8SWarner Losh #define LUA_USE_DLOPEN 18*8c784bb8SWarner Losh #endif 19*8c784bb8SWarner Losh 20*8c784bb8SWarner Losh #undef LUA_ROOT 21*8c784bb8SWarner Losh #undef LUA_LDIR 22*8c784bb8SWarner Losh #undef LUA_CDIR 23*8c784bb8SWarner Losh #define LUA_ROOT "/usr/" 24*8c784bb8SWarner Losh #define LUA_LDIR LUA_ROOT "share/flua/" 25*8c784bb8SWarner Losh #define LUA_CDIR LUA_ROOT "lib/flua/" 26