diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-27 10:08:05 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:38:31 -0400 |
commit | 4716975cb18795e4a953fc705cf0b7c74d6a1c95 (patch) | |
tree | 4e22788779337c306aa9b83282e7a67c52b6004c /util.h | |
parent | 9039e728b2015b54dc87da52f450c27683303392 (diff) | |
download | ledger-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.h | 23 |
1 files changed, 0 insertions, 23 deletions
@@ -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) { |