mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-04-01 11:49:04 +00:00
Disable debug checks in release builds
This commit is contained in:
parent
5e8da4e672
commit
ff7d92c731
2 changed files with 2 additions and 4 deletions
|
@ -92,8 +92,7 @@
|
|||
#define __has_feature(x) 0
|
||||
#endif
|
||||
|
||||
// TODO set it to 0 before release
|
||||
#if 1//defined(_DEBUG) || defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) || defined(__SANITIZE_THREAD__) || __has_feature(thread_sanitizer)
|
||||
#if defined(_DEBUG) || defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) || defined(__SANITIZE_THREAD__) || __has_feature(thread_sanitizer)
|
||||
#define P2POOL_DEBUGGING 1
|
||||
#endif
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
#ifdef _DEBUG
|
||||
#define POOL_BLOCK_DEBUG 1
|
||||
#else
|
||||
// TODO set it to 0 before release
|
||||
#define POOL_BLOCK_DEBUG 1
|
||||
#define POOL_BLOCK_DEBUG 0
|
||||
#endif
|
||||
|
||||
namespace p2pool {
|
||||
|
|
Loading…
Reference in a new issue