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