mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fixes for consolidated beast unity includes
This commit is contained in:
@@ -21,15 +21,6 @@
|
|||||||
*/
|
*/
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
#if defined BEAST_CORE_H_INCLUDED
|
|
||||||
/* When you add this cpp file to your project, you mustn't include it in a file where you've
|
|
||||||
already included any other headers - just put it inside a file on its own, possibly with your config
|
|
||||||
flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
|
|
||||||
header files that the compiler may be using.
|
|
||||||
*/
|
|
||||||
#error "Incorrect use of BEAST cpp file"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Your project must contain a BeastConfig.h file with your project-specific settings in it,
|
// Your project must contain a BeastConfig.h file with your project-specific settings in it,
|
||||||
// and your header search path must make it accessible to the module's files.
|
// and your header search path must make it accessible to the module's files.
|
||||||
#include "BeastConfig.h"
|
#include "BeastConfig.h"
|
||||||
|
|||||||
@@ -66,6 +66,7 @@ namespace zlibNamespace
|
|||||||
#undef Byte
|
#undef Byte
|
||||||
#undef fdopen
|
#undef fdopen
|
||||||
#undef local
|
#undef local
|
||||||
|
#undef Code
|
||||||
|
|
||||||
#if BEAST_CLANG
|
#if BEAST_CLANG
|
||||||
#pragma clang diagnostic pop
|
#pragma clang diagnostic pop
|
||||||
|
|||||||
@@ -63,6 +63,10 @@ namespace sqdb
|
|||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef c
|
||||||
|
#undef c
|
||||||
|
#endif
|
||||||
|
|
||||||
const Error sqliteError(const char* sourceFileName,
|
const Error sqliteError(const char* sourceFileName,
|
||||||
int lineNumber,
|
int lineNumber,
|
||||||
int sqliteErrorCode)
|
int sqliteErrorCode)
|
||||||
|
|||||||
Reference in New Issue
Block a user