Exclude MDB on Win32

This commit is contained in:
Vinnie Falco
2013-07-11 10:02:47 -07:00
committed by JoelKatz
parent ab6b0e00e6
commit 2e4317e173
5 changed files with 16 additions and 4 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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