mirror of https://github.com/SChernykh/p2pool
Disable debug checks in release builds
parent
5e8da4e672
commit
ff7d92c731
|
@ -92,8 +92,7 @@
|
||||||
#define __has_feature(x) 0
|
#define __has_feature(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// TODO set it to 0 before release
|
#if defined(_DEBUG) || defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) || defined(__SANITIZE_THREAD__) || __has_feature(thread_sanitizer)
|
||||||
#if 1//defined(_DEBUG) || defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) || defined(__SANITIZE_THREAD__) || __has_feature(thread_sanitizer)
|
|
||||||
#define P2POOL_DEBUGGING 1
|
#define P2POOL_DEBUGGING 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,7 @@
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
#define POOL_BLOCK_DEBUG 1
|
#define POOL_BLOCK_DEBUG 1
|
||||||
#else
|
#else
|
||||||
// TODO set it to 0 before release
|
#define POOL_BLOCK_DEBUG 0
|
||||||
#define POOL_BLOCK_DEBUG 1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace p2pool {
|
namespace p2pool {
|
||||||
|
|
Loading…
Reference in New Issue