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

12 lines
345 B
Text

--- 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 */