summaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-20 15:23:52 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-05-20 15:23:52 -0500
commit1b1c7cd4ac9efe9f44b31513a33dc68bf6ee1924 (patch)
treec36e4190510474bececa37e657f659caed5aa7ae /src/utils.h
parentf579e6ddacb08ffeb124a9ec87b7faf7e9683a3c (diff)
downloadfork-ledger-1b1c7cd4ac9efe9f44b31513a33dc68bf6ee1924.tar.gz
fork-ledger-1b1c7cd4ac9efe9f44b31513a33dc68bf6ee1924.tar.bz2
fork-ledger-1b1c7cd4ac9efe9f44b31513a33dc68bf6ee1924.zip
A few more CMake-related fixes
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/utils.h b/src/utils.h
index 893b3d70..0a3afc4d 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -52,18 +52,15 @@
#define TIMERS_ON 1
#if DEBUG_MODE
-#define NO_ASSERTS 0
#define VERIFY_ON 1
#define TRACING_ON 1
#define DEBUG_ON 1
-#elif NDEBUG
-#define NO_ASSERTS 1
+#elif NO_ASSERTS
//#define NO_LOGGING 1
#define VERIFY_ON 0
#define TRACING_ON 0
#define DEBUG_ON 0
#else
-#define NO_ASSERTS 0
#define TRACING_ON 1 // use --trace X to enable
#define VERIFY_ON 0
#define TRACING_ON 0