Changeset View
Changeset View
Standalone View
Standalone View
lib/liblua/luaconf.h
Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | |||||
#define LUA_USE_POSIX | #define LUA_USE_POSIX | ||||
#define LUA_USE_DLOPEN /* MacOS does not need -ldl */ | #define LUA_USE_DLOPEN /* MacOS does not need -ldl */ | ||||
#define LUA_USE_READLINE /* needs an extra library: -lreadline */ | #define LUA_USE_READLINE /* needs an extra library: -lreadline */ | ||||
#endif | #endif | ||||
/* Local modifications: need io.popen */ | /* Local modifications: need io.popen */ | ||||
#ifdef __FreeBSD__ | #ifdef __FreeBSD__ | ||||
#define LUA_USE_POSIX | #define LUA_USE_POSIX | ||||
#define LUA_USE_DLOPEN /* FreeBSD does not need -ldl */ | |||||
kib: We do not need -ldl but we have it. | |||||
emasteAuthorUnsubmitted Done Inline ActionsYeah, I just copied this from the MACOSX example, but I guess this was just a hint to someone building on the various platforms, and the comment could probably just be deleted. emaste: Yeah, I just copied this from the MACOSX example, but I guess this was just a hint to someone… | |||||
#endif | #endif | ||||
/* | /* | ||||
@@ LUA_C89_NUMBERS ensures that Lua uses the largest types available for | @@ LUA_C89_NUMBERS ensures that Lua uses the largest types available for | ||||
** C89 ('long' and 'double'); Windows always has '__int64', so it does | ** C89 ('long' and 'double'); Windows always has '__int64', so it does | ||||
** not need to use this case. | ** not need to use this case. | ||||
*/ | */ | ||||
#if defined(LUA_USE_C89) && !defined(LUA_USE_WINDOWS) | #if defined(LUA_USE_C89) && !defined(LUA_USE_WINDOWS) | ||||
▲ Show 20 Lines • Show All 714 Lines • Show Last 20 Lines |
We do not need -ldl but we have it.