Fix build on FreeBSD/MacOS, they are POSIX platforms, too.

This commit is contained in:
Alex Dupre
2013-06-26 12:02:41 +02:00
parent d82a68dbbb
commit 6407599394

View File

@@ -15,16 +15,18 @@
#if BEAST_WIN32 #if BEAST_WIN32
#define LEVELDB_PLATFORM_WINDOWS #define LEVELDB_PLATFORM_WINDOWS
#elif BEAST_MAC || BEAST_IOS
#define OS_MACOSX
// VFALCO TODO Distinguish between BEAST_BSD and BEAST_FREEBSD
#elif BEAST_BSD
#define OS_FREEBSD
#else #else
#define LEVELDB_PLATFORM_POSIX #define LEVELDB_PLATFORM_POSIX
#if BEAST_MAC || BEAST_IOS
#define OS_MACOSX
// VFALCO TODO Distinguish between BEAST_BSD and BEAST_FREEBSD
#elif BEAST_BSD
#define OS_FREEBSD
#endif
#endif #endif
#if BEAST_MSVC #if BEAST_MSVC