mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-03 01:15:53 +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,
|
||||
// and your header search path must make it accessible to the module's files.
|
||||
#include "BeastConfig.h"
|
||||
|
||||
@@ -66,6 +66,7 @@ namespace zlibNamespace
|
||||
#undef Byte
|
||||
#undef fdopen
|
||||
#undef local
|
||||
#undef Code
|
||||
|
||||
#if BEAST_CLANG
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
@@ -63,6 +63,10 @@ namespace sqdb
|
||||
namespace detail
|
||||
{
|
||||
|
||||
#ifdef c
|
||||
#undef c
|
||||
#endif
|
||||
|
||||
const Error sqliteError(const char* sourceFileName,
|
||||
int lineNumber,
|
||||
int sqliteErrorCode)
|
||||
|
||||
Reference in New Issue
Block a user