Fixes for consolidated beast unity includes

This commit is contained in:
Vinnie Falco
2013-09-19 03:49:52 -07:00
parent d5ece4e909
commit 327d7a6524
3 changed files with 5 additions and 9 deletions

View File

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

View File

@@ -66,6 +66,7 @@ namespace zlibNamespace
#undef Byte
#undef fdopen
#undef local
#undef Code
#if BEAST_CLANG
#pragma clang diagnostic pop

View File

@@ -63,6 +63,10 @@ namespace sqdb
namespace detail
{
#ifdef c
#undef c
#endif
const Error sqliteError(const char* sourceFileName,
int lineNumber,
int sqliteErrorCode)