diff options
author | John Wiegley <johnw@newartisans.com> | 2012-05-20 18:17:12 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-05-20 18:17:12 -0500 |
commit | d1444f4c97276d6c89dfca6846f6d62ca7487183 (patch) | |
tree | e667e8fb7fd9b491f8356bdb5b60656914073374 | |
parent | de7322b48c09cceef0df3710f8c0d35021e23967 (diff) | |
download | fork-ledger-d1444f4c97276d6c89dfca6846f6d62ca7487183.tar.gz fork-ledger-d1444f4c97276d6c89dfca6846f6d62ca7487183.tar.bz2 fork-ledger-d1444f4c97276d6c89dfca6846f6d62ca7487183.zip |
Fixed a reference to HAVE_EDIT
-rw-r--r-- | src/main.cc | 2 | ||||
-rw-r--r-- | src/utils.h | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/main.cc b/src/main.cc index 99f7451e..a1ac0339 100644 --- a/src/main.cc +++ b/src/main.cc @@ -127,7 +127,7 @@ int main(int argc, char * argv[], char * envp[]) bool exit_loop = false; -#ifdef HAVE_EDIT +#if HAVE_EDIT rl_readline_name = const_cast<char *>("Ledger"); #if 0 diff --git a/src/utils.h b/src/utils.h index 5d7bf15b..1b356e7c 100644 --- a/src/utils.h +++ b/src/utils.h @@ -52,19 +52,18 @@ #define TIMERS_ON 1 #if DEBUG_MODE +#define DEBUG_ON 1 #define VERIFY_ON 1 #define TRACING_ON 1 -#define DEBUG_ON 1 #elif NO_ASSERTS -//#define NO_LOGGING 1 -#define VERIFY_ON 0 -#define TRACING_ON 0 #define DEBUG_ON 0 -#else -#define TRACING_ON 1 // use --trace X to enable #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 /*@}*/ |