Patch 3429777: Support for DragonFly BSD (Joachim de Groot) and 3445049: Build fix for FreeBSD (Konstantin Tokarev)

This commit is contained in:
Jason Perkins 2011-12-06 15:42:05 -05:00
parent 19fc72c82b
commit 472f1abdb4
3 changed files with 7 additions and 1 deletions

View File

@ -43,6 +43,8 @@
* Bug: Visual Studio 2010 forces x86 when platform is Native
* Patch 3351583: _PREMAKE_COMMAND variable (Konstantin Tokarev)
* Patch 3451928: VS2008 trying to build *.h files in C projects
* Patch 3429777: Support for DragonFly BSD (Joachim de Groot)
* Patch 3445049: Build fix for FreeBSD (Konstantin Tokarev)
* Added new global _WORKING_DIR

View File

@ -55,6 +55,10 @@
configuration "linux"
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
links { "m", "dl" }
configuration "bsd"
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
links { "m" }
configuration "macosx"
defines { "LUA_USE_MACOSX" }

View File

@ -15,7 +15,7 @@
#if defined(__linux__)
#define PLATFORM_LINUX (1)
#define PLATFORM_STRING "linux"
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#define PLATFORM_BSD (1)
#define PLATFORM_STRING "bsd"
#elif defined(__APPLE__) && defined(__MACH__)