summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-19 10:22:43 +0200
committerGitHub <noreply@github.com>2023-04-19 10:22:43 +0200
commit1a5fba25987c8f44a0fdcf8219d9243a3d04dda2 (patch)
tree9ddc6177529da531c4c25852f2ca88adde7740f3 /src/utils.h
parentbd510c2e5f6269b4112f032d2a9e1d7665e4fd74 (diff)
parentd2de65d7d8b366bc3a6291831e7a1090e2e940a4 (diff)
downloadfork-ledger-1a5fba25987c8f44a0fdcf8219d9243a3d04dda2.tar.gz
fork-ledger-1a5fba25987c8f44a0fdcf8219d9243a3d04dda2.tar.bz2
fork-ledger-1a5fba25987c8f44a0fdcf8219d9243a3d04dda2.zip
Merge pull request #2238 from afh/cleanup-system-defines
Cleanup system defines
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/utils.h b/src/utils.h
index 7ca5935a..a3fc9de5 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -45,30 +45,8 @@
#include <boost/uuid/detail/sha1.hpp>
-/**
- * @name Default values
- */
-/*@{*/
-
#define TIMERS_ON 1
-#if DEBUG_MODE
-#define DEBUG_ON 1
-#define VERIFY_ON 1
-#define TRACING_ON 1
-#elif NO_ASSERTS
-#define DEBUG_ON 0
-#define VERIFY_ON 0
-#define TRACING_ON 0
-//#define NO_LOGGING 1
-#else
-#define DEBUG_ON 0
-#define VERIFY_ON 0
-#define TRACING_ON 1 // use --trace X to enable
-#endif
-
-/*@}*/
-
/**
* @name Forward declarations
*/
@@ -217,9 +195,6 @@ inline string operator+(const char * left, const string& right) {
*/
/*@{*/
-#if ! defined(NO_LOGGING)
-#define LOGGING_ON 1
-#endif
#if LOGGING_ON
namespace ledger {