ports/lang/lua/5.2/patches/patch-src_luaconf_h

13 lines
345 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- src/luaconf.h.orig Thu May 10 22:53:52 2012
+++ src/luaconf.h Thu May 10 22:54:16 2012
@@ -39,8 +39,7 @@
#endif
-
-#if defined(LUA_USE_LINUX)
+#if defined(LUA_USE_BSD) || defined(LUA_USE_LINUX)
#define LUA_USE_POSIX
#define LUA_USE_DLOPEN /* needs an extra library: -ldl */
#define LUA_USE_READLINE /* needs some extra libraries */