Disable debug checks in release builds
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
|
||||
+1
-2
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user