mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Fix build on FreeBSD/MacOS, they are POSIX platforms, too.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user