Skip to content

Commit

Permalink
Force debug checks
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Dec 25, 2023
1 parent 6eb83dc commit dbc2ff8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@
#define __has_feature(x) 0
#endif

#if defined(_DEBUG) || defined(__SANITIZE_ADDRESS__) || __has_feature(address_sanitizer) || defined(__SANITIZE_THREAD__) || __has_feature(thread_sanitizer)
// 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)
#define P2POOL_DEBUGGING 1
#endif

Expand Down
3 changes: 2 additions & 1 deletion src/pool_block.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
#ifdef _DEBUG
#define POOL_BLOCK_DEBUG 1
#else
#define POOL_BLOCK_DEBUG 0
// TODO set it to 0 before release
#define POOL_BLOCK_DEBUG 1
#endif

namespace p2pool {
Expand Down

0 comments on commit dbc2ff8

Please sign in to comment.