Adds partial support for Debian GNU/kFreeBSD, based on patch by vincent. Refs #1322.
This was SVN commit r11781.
This commit is contained in:
parent
1674a7503f
commit
37a5bedb81
@ -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(__FreeBSD_kernel__)
|
||||
#define PLATFORM_BSD (1)
|
||||
#define PLATFORM_STRING "bsd"
|
||||
#elif defined(__APPLE__) && defined(__MACH__)
|
||||
|
@ -66,7 +66,7 @@
|
||||
# define OS_MACOSX 0
|
||||
#endif
|
||||
// BSD
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__FreeBSD_kernel__)
|
||||
# define OS_BSD 1
|
||||
#else
|
||||
# define OS_BSD 0
|
||||
|
2
source/third_party/mongoose/mongoose.cpp
vendored
2
source/third_party/mongoose/mongoose.cpp
vendored
@ -37,7 +37,7 @@
|
||||
|
||||
#undef DEBUG
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
|
||||
// Fix undefined PF_INET on FreeBSD
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user