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

11 lines
343 B
Text

--- src/luaconf.h.orig Mon Jan 12 14:06:50 2015
+++ src/luaconf.h Mon Jan 12 14:07:04 2015
@@ -58,7 +58,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 */