diff --git a/modules/ripple_leveldb/ripple_leveldb.cpp b/modules/ripple_leveldb/ripple_leveldb.cpp index fcf011da74..ed230e1945 100644 --- a/modules/ripple_leveldb/ripple_leveldb.cpp +++ b/modules/ripple_leveldb/ripple_leveldb.cpp @@ -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