mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Exclude MDB on Win32
This commit is contained in:
@@ -4,6 +4,8 @@
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#if RIPPLE_MDB_AVAILABLE
|
||||
|
||||
class MdbBackendFactory::Backend : public NodeStore::Backend
|
||||
{
|
||||
public:
|
||||
@@ -129,5 +131,4 @@ NodeStore::Backend* MdbBackendFactory::createInstance (StringPairArray const& ke
|
||||
return new MdbBackendFactory::Backend (keyValues);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
#endif
|
||||
|
||||
@@ -10,8 +10,6 @@
|
||||
|
||||
#include "ripple_mdb.h"
|
||||
|
||||
#include "beast/modules/beast_core/system/beast_TargetPlatform.h"
|
||||
|
||||
#if RIPPLE_MDB_AVAILABLE
|
||||
|
||||
#include "mdb/libraries/liblmdb/mdb.c"
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
#ifndef RIPPLE_MDB_H_INCLUDED
|
||||
#define RIPPLE_MDB_H_INCLUDED
|
||||
|
||||
#include "beast/modules/beast_core/system/beast_TargetPlatform.h"
|
||||
|
||||
#if ! BEAST_WIN32
|
||||
#define RIPPLE_MDB_AVAILABLE 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user