summaryrefslogtreecommitdiff
path: root/src/system.hh.in
diff options
context:
space:
mode:
authorTim Landscheidt <tim@tim-landscheidt.de>2019-01-15 14:21:19 +0000
committerMartin Michlmayr <tbm@cyrius.com>2019-01-25 17:10:13 -0300
commit0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948 (patch)
treeafdbc0ee4d51b2e163e16310ff9d21529cb2c9fe /src/system.hh.in
parentccd330746a77cf335b2816a3048a8e25e61f8ed4 (diff)
downloadfork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.tar.gz
fork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.tar.bz2
fork-ledger-0e5f0792ff7cfcc2012a53fa5372f4d6d04b5948.zip
Drop support for gcc 2 and earlier
Diffstat (limited to 'src/system.hh.in')
-rw-r--r--src/system.hh.in27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/system.hh.in b/src/system.hh.in
index 799c7102..97651e8b 100644
--- a/src/system.hh.in
+++ b/src/system.hh.in
@@ -81,10 +81,6 @@
/* System includes */
/*------------------------------------------------------------------------*/
-#if defined(__GNUG__) && __GNUG__ < 3
-#define _XOPEN_SOURCE
-#endif
-
#include <algorithm>
#include <exception>
#include <typeinfo>
@@ -104,29 +100,6 @@
#include <string>
#include <vector>
-#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 std::streamoff istream_pos_type;
-typedef std::streamoff 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>
#include <cctype>
#include <cstdarg>