mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add ripple_sophia module
This commit is contained in:
26
src/ripple/sophia/ripple_sophia.cpp
Normal file
26
src/ripple/sophia/ripple_sophia.cpp
Normal file
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
/*
|
||||
Copyright (c) 2011-2013, OpenCoin, Inc.
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#include "BeastConfig.h"
|
||||
|
||||
#include "ripple_sophia.h"
|
||||
|
||||
#if RIPPLE_SOPHIA_AVAILBLE
|
||||
|
||||
#include "../sophia/db/cat.c"
|
||||
#include "../sophia/db/crc.c"
|
||||
#include "../sophia/db/cursor.c"
|
||||
#include "../sophia/db/e.c"
|
||||
#include "../sophia/db/file.c"
|
||||
#include "../sophia/db/gc.c"
|
||||
#include "../sophia/db/i.c"
|
||||
#include "../sophia/db/merge.c"
|
||||
#include "../sophia/db/recover.c"
|
||||
#include "../sophia/db/rep.c"
|
||||
#include "../sophia/db/sp.c"
|
||||
#include "../sophia/db/util.c"
|
||||
|
||||
#endif
|
||||
22
src/ripple/sophia/ripple_sophia.h
Normal file
22
src/ripple/sophia/ripple_sophia.h
Normal file
@@ -0,0 +1,22 @@
|
||||
//------------------------------------------------------------------------------
|
||||
/*
|
||||
Copyright (c) 2011-2013, OpenCoin, Inc.
|
||||
*/
|
||||
//==============================================================================
|
||||
|
||||
#ifndef RIPPLE_SOPHIA_H_INCLUDED
|
||||
#define RIPPLE_SOPHIA_H_INCLUDED
|
||||
|
||||
#include "beast/modules/beast_core/system/TargetPlatform.h"
|
||||
|
||||
#if ! BEAST_WIN32
|
||||
|
||||
#define RIPPLE_SOPHIA_AVAILABLE 1
|
||||
|
||||
#else
|
||||
|
||||
#define RIPPLE_SOPHIA_AVAILABLE 0
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user