summaryrefslogtreecommitdiff
path: root/debug.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-14 04:25:32 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:31 -0400
commite65c62d5a42b812dfdcc8841e813ff96ee26c8ba (patch)
treee97ad9e183a9c941c4c796f1171c25bcad832033 /debug.cc
parent6dbb6ec18638f399e2473ff1cb7e6db5f1b0accf (diff)
downloadledger-e65c62d5a42b812dfdcc8841e813ff96ee26c8ba.tar.gz
ledger-e65c62d5a42b812dfdcc8841e813ff96ee26c8ba.tar.bz2
ledger-e65c62d5a42b812dfdcc8841e813ff96ee26c8ba.zip
Removed all uses of PCH (which was far more trouble than it was worth).
Diffstat (limited to 'debug.cc')
-rw-r--r--debug.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/debug.cc b/debug.cc
index 9b98b1f4..b3b140bc 100644
--- a/debug.cc
+++ b/debug.cc
@@ -1,17 +1,11 @@
-#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;
@@ -119,9 +113,7 @@ 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,