summaryrefslogtreecommitdiff
path: root/binary.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-17 01:50:38 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-17 01:50:38 -0400
commitcd7d7e5b88d0cdca6b183c3b34cea2008136e0ec (patch)
treeec38b784d8cf2bae405d657601e22f96188c4cfe /binary.cc
parent3a445455409af9475411d2d12220ae128033cb22 (diff)
downloadfork-ledger-cd7d7e5b88d0cdca6b183c3b34cea2008136e0ec.tar.gz
fork-ledger-cd7d7e5b88d0cdca6b183c3b34cea2008136e0ec.tar.bz2
fork-ledger-cd7d7e5b88d0cdca6b183c3b34cea2008136e0ec.zip
slight fixes
Diffstat (limited to 'binary.cc')
-rw-r--r--binary.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/binary.cc b/binary.cc
index 8f622cb7..1f0fc106 100644
--- a/binary.cc
+++ b/binary.cc
@@ -23,7 +23,7 @@ static std::vector<commodity_t *> commodities;
static commodity_t::ident_t c_ident;
-#ifdef RELEASE_LEVEL >= ALPHA
+#if RELEASE_LEVEL >= ALPHA
#define read_binary_guard(in, id) { \
unsigned short guard; \
in.read((char *)&guard, sizeof(guard)); \
@@ -252,7 +252,7 @@ unsigned int read_binary_journal(std::istream& in,
}
-#ifdef RELEASE_LEVEL >= ALPHA
+#if RELEASE_LEVEL >= ALPHA
#define write_binary_guard(in, id) { \
unsigned short guard = id; \
out.write((char *)&guard, sizeof(guard)); \