summaryrefslogtreecommitdiff
path: root/lib/liblua/luaconf.local.h
blob: 8f3fef15ddcabaeb67d3219bed7fd24b303860bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Copyright (c) 2023, Netflix, Inc
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

/*
 * We need to always define this. For the boot loader, we use it. For flua
 * we don't, but it needs to be defined to keep some ifdefs happy.
 */
#define LUA_FLOAT_INT64		4

#define LUA_USE_POSIX
#ifndef BOOTSTRAPPING
#define LUA_USE_DLOPEN
#endif

#undef LUA_ROOT
#undef LUA_LDIR
#undef LUA_CDIR
#define LUA_ROOT	"/usr/"
#define LUA_LDIR	LUA_ROOT "share/flua/"
#define LUA_CDIR	LUA_ROOT "lib/flua/"