diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-23 21:22:24 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:31 -0400 |
commit | 9039e728b2015b54dc87da52f450c27683303392 (patch) | |
tree | ac914e05db5dc03f6971cd8c165ee3791a614d18 /debug.h | |
parent | 340dacf118f2f457ffc962cb46e8b3ef59017376 (diff) | |
download | fork-ledger-9039e728b2015b54dc87da52f450c27683303392.tar.gz fork-ledger-9039e728b2015b54dc87da52f450c27683303392.tar.bz2 fork-ledger-9039e728b2015b54dc87da52f450c27683303392.zip |
All system headers (except Boost) now included through system.hh;
also, added support for pre-compiled headers since I'm now using a
centralized resource for system headers.
Diffstat (limited to 'debug.h')
-rw-r--r-- | debug.h | 14 |
1 files changed, 1 insertions, 13 deletions
@@ -11,8 +11,6 @@ #define DEBUG_LEVEL NO_SEATBELT #endif -#include "trace.h" - #if DEBUG_LEVEL >= RELEASE #ifdef assert @@ -66,14 +64,6 @@ void debug_assert(const ledger::string& reason, #if DEBUG_LEVEL >= ALPHA -#include <cstring> -#include <new> -#include <iostream> -#include <cstdlib> -#include <cassert> - -#include <boost/regex.hpp> - #define DEBUG_ENABLED extern std::ostream * _debug_stream; @@ -110,7 +100,7 @@ bool _debug_active(const char * const cls); #endif extern int new_calls; -extern long long new_size; +extern unsigned long new_size; #if 0 void * operator new(std::size_t) throw (std::bad_alloc); @@ -169,8 +159,6 @@ void operator delete[](void*, const std::nothrow_t&) throw(); #define CONFIRM(x) assert(x) -#include "trace.h" - #endif #endif // DEBUG_LEVEL |