summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2023-04-19 04:23:47 +0200
committerAlexis Hildebrandt <afh@surryhill.net>2023-04-19 04:23:47 +0200
commit9223f6a3e5546035cbf759b16bcaa0505c4c91b0 (patch)
tree0b28d8ac045ded47da867228987d06c480eaf22c
parent1fe7d71cf130074f2b345ebe70f9e76e8899b072 (diff)
downloadfork-ledger-9223f6a3e5546035cbf759b16bcaa0505c4c91b0.tar.gz
fork-ledger-9223f6a3e5546035cbf759b16bcaa0505c4c91b0.tar.bz2
fork-ledger-9223f6a3e5546035cbf759b16bcaa0505c4c91b0.zip
Move app defines into ledger.hh.in
-rw-r--r--src/ledger.hh.in3
-rw-r--r--src/system.hh.in3
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ledger.hh.in b/src/ledger.hh.in
index f0bb610f..54e7797c 100644
--- a/src/ledger.hh.in
+++ b/src/ledger.hh.in
@@ -50,6 +50,9 @@
*/
/*@{*/
+#cmakedefine01 DEBUG_MODE
+#cmakedefine01 NO_ASSERTS
+
#if DEBUG_MODE
#define DEBUG_ON 1
#define VERIFY_ON 1
diff --git a/src/system.hh.in b/src/system.hh.in
index 1167885d..b3fc028f 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -64,9 +64,6 @@
#cmakedefine01 HAVE_BOOST_REGEX_UNICODE
#cmakedefine01 HAVE_BOOST_NOWIDE
-#cmakedefine01 DEBUG_MODE
-#cmakedefine01 NO_ASSERTS
-
/*------------------------------------------------------------------------*/
/* System includes */
/*------------------------------------------------------------------------*/