summaryrefslogtreecommitdiff
path: root/binary.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-11-09 23:07:43 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:21 -0400
commitc482e8a3179fb8795bd02526eedc0b8cac77d527 (patch)
tree24771dd1c6b33cc4b0e28efcbaab3016e36877bc /binary.cc
parent61166ea4d307bb1b9caed709d8252400e45fdc06 (diff)
downloadfork-ledger-c482e8a3179fb8795bd02526eedc0b8cac77d527.tar.gz
fork-ledger-c482e8a3179fb8795bd02526eedc0b8cac77d527.tar.bz2
fork-ledger-c482e8a3179fb8795bd02526eedc0b8cac77d527.zip
*** empty log message ***
Diffstat (limited to 'binary.cc')
-rw-r--r--binary.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/binary.cc b/binary.cc
index 6be9ed39..227b7919 100644
--- a/binary.cc
+++ b/binary.cc
@@ -11,7 +11,11 @@
namespace ledger {
static unsigned long binary_magic_number = 0xFFEED765;
+#ifdef DEBUG_ENABLED
+static unsigned long format_version = 0x00020501;
+#else
static unsigned long format_version = 0x00020500;
+#endif
static account_t ** accounts;
static account_t ** accounts_next;