mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add BEAST_SQLITE_FORCE_NDEBUG option
This commit is contained in:
@@ -81,6 +81,10 @@
|
|||||||
#define BEAST_ZLIB_INCLUDE_PATH <zlib.h>
|
#define BEAST_ZLIB_INCLUDE_PATH <zlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef BEAST_SQLITE_FORCE_NDEBUG
|
||||||
|
#define BEAST_SQLITE_FORCE_NDEBUG 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef BEAST_STRING_UTF_TYPE
|
#ifndef BEAST_STRING_UTF_TYPE
|
||||||
#define BEAST_STRING_UTF_TYPE 8
|
#define BEAST_STRING_UTF_TYPE 8
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -107,6 +107,13 @@
|
|||||||
#define BEAST_ZLIB_INCLUDE_PATH <zlib.h>
|
#define BEAST_ZLIB_INCLUDE_PATH <zlib.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/** Config: BEAST_SQLITE_FORCE_NDEBUG
|
||||||
|
Setting this option forces sqlite into release mode even if NDEBUG is not set
|
||||||
|
*/
|
||||||
|
#ifndef BEAST_SQLITE_FORCE_NDEBUG
|
||||||
|
//#define BEAST_SQLITE_FORCE_NDEBUG 1
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Config: BEAST_FUNCTIONAL_USES_###
|
/** Config: BEAST_FUNCTIONAL_USES_###
|
||||||
<functional> source configuration.
|
<functional> source configuration.
|
||||||
Set one of these to manually force a particular implementation of bind().
|
Set one of these to manually force a particular implementation of bind().
|
||||||
|
|||||||
@@ -57,6 +57,10 @@
|
|||||||
*/
|
*/
|
||||||
//#define SQLITE_THREADSAFE 2
|
//#define SQLITE_THREADSAFE 2
|
||||||
|
|
||||||
|
#if defined (BEAST_SQLITE_USE_NDEBUG) && BEAST_SQLITE_USE_NDEBUG && !defined (NDEBUG)
|
||||||
|
#define NDEBUG
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "sqlite/sqlite3.c"
|
#include "sqlite/sqlite3.c"
|
||||||
|
|
||||||
#if BEAST_MSVC
|
#if BEAST_MSVC
|
||||||
|
|||||||
Reference in New Issue
Block a user