summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-27 10:08:05 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:31 -0400
commit4716975cb18795e4a953fc705cf0b7c74d6a1c95 (patch)
tree4e22788779337c306aa9b83282e7a67c52b6004c /util.h
parent9039e728b2015b54dc87da52f450c27683303392 (diff)
downloadledger-4716975cb18795e4a953fc705cf0b7c74d6a1c95.tar.gz
ledger-4716975cb18795e4a953fc705cf0b7c74d6a1c95.tar.bz2
ledger-4716975cb18795e4a953fc705cf0b7c74d6a1c95.zip
More work done toward rearranging the utility code.
Diffstat (limited to 'util.h')
-rw-r--r--util.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/util.h b/util.h
index 53dc720e..5965a5ed 100644
--- a/util.h
+++ b/util.h
@@ -1,29 +1,6 @@
#ifndef _UTIL_H
#define _UTIL_H
-#if defined __FreeBSD__ && __FreeBSD__ <=4
-// FreeBSD has a broken isspace macro, so dont use it
-#undef isspace(c)
-#endif
-
-#if defined(__GNUG__) && __GNUG__ < 3
-namespace std {
- inline ostream & right (ostream & i) {
- i.setf(i.right, i.adjustfield);
- return i;
- }
- inline ostream & left (ostream & i) {
- i.setf(i.left, i.adjustfield);
- return i;
- }
-}
-typedef unsigned long istream_pos_type;
-typedef unsigned long ostream_pos_type;
-#else
-typedef std::istream::pos_type istream_pos_type;
-typedef std::ostream::pos_type ostream_pos_type;
-#endif
-
namespace ledger {
inline char * skip_ws(char * ptr) {