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