Properly compile on Debian kFreeBSD.

This commit is contained in:
Mike Pall
2009-12-20 18:41:55 +01:00
parent a1d4d05f2c
commit 34d716947c
2 changed files with 4 additions and 1 deletions

View File

@@ -15,7 +15,7 @@
#define LUA_DL_DLL
#elif defined(__linux__) || defined(__solaris__) || defined(__CYGWIN__) || \
defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
(defined(__MACH__) && defined(__APPLE__))
defined(__FreeBSD_kernel__) || (defined(__MACH__) && defined(__APPLE__))
#define LUA_USE_POSIX
#define LUA_DL_DLOPEN
#endif