diff options
author | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:00 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:00 -0400 |
commit | 42f43b7686038e4cbca16d8d2118b139544e6de3 (patch) | |
tree | 52c5473401c57282242d66b8dd75f4c07bf41d07 /debug.cc | |
parent | c7b4370ff9c8ab5c96f15b1e712e6db6bdab6324 (diff) | |
download | fork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.tar.gz fork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.tar.bz2 fork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.zip |
Check in all changes made so far toward 3.0.
Diffstat (limited to 'debug.cc')
-rw-r--r-- | debug.cc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1,11 +1,17 @@ +#ifdef USE_PCH +#include "pch.h" +#else #include "debug.h" +#endif #ifdef DEBUG_ENABLED +#ifndef USE_PCH #include <map> #include <fstream> #include <unistd.h> // for the `write' method +#endif int offset = 0; @@ -113,7 +119,9 @@ static struct init_streams { #if DEBUG_LEVEL >= BETA +#ifndef USE_PCH #include <string> +#endif void debug_assert(const std::string& reason, const std::string& file, |