diff options
author | John Wiegley <johnw@newartisans.com> | 2008-05-08 02:19:44 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-05-08 02:50:19 -0400 |
commit | d159501993cfd0215f94f0e5e16796558417b681 (patch) | |
tree | b0e2b9e9e707dd3f71683e81b9c9c3a1f8b47f86 /system.hh | |
parent | 7ecbf3e125481a02c541f9eb3ed795ac3e245541 (diff) | |
download | ledger-d159501993cfd0215f94f0e5e16796558417b681.tar.gz ledger-d159501993cfd0215f94f0e5e16796558417b681.tar.bz2 ledger-d159501993cfd0215f94f0e5e16796558417b681.zip |
The code is compiling again, but it's far from being able to run yet.
Diffstat (limited to 'system.hh')
-rw-r--r-- | system.hh | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -68,6 +68,7 @@ #include <vector> #if defined(__GNUG__) && __GNUG__ < 3 + namespace std { inline ostream & right (ostream & i) { i.setf(i.right, i.adjustfield); @@ -78,6 +79,15 @@ namespace std { return i; } } + +typedef unsigned long istream_pos_type; +typedef unsigned long ostream_pos_type; + +#else // ! (defined(__GNUG__) && __GNUG__ < 3) + +typedef std::istream::pos_type istream_pos_type; +typedef std::ostream::pos_type ostream_pos_type; + #endif #include <cassert> |