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,15 +15,17 @@
#if BEAST_WIN32 #if BEAST_WIN32
#define LEVELDB_PLATFORM_WINDOWS #define LEVELDB_PLATFORM_WINDOWS
#elif BEAST_MAC || BEAST_IOS #else
#define LEVELDB_PLATFORM_POSIX
#if BEAST_MAC || BEAST_IOS
#define OS_MACOSX #define OS_MACOSX
// VFALCO TODO Distinguish between BEAST_BSD and BEAST_FREEBSD // VFALCO TODO Distinguish between BEAST_BSD and BEAST_FREEBSD
#elif BEAST_BSD #elif BEAST_BSD
#define OS_FREEBSD #define OS_FREEBSD
#else #endif
#define LEVELDB_PLATFORM_POSIX
#endif #endif