Revision 1845 trunk/src/tools99/cifstrem.h

cifstrem.h (revision 1845)
52 52
  #pragma interface
53 53
#endif
54 54

  
55
#if defined(linux) || defined(__GNUDOS__)
56
#define USE_LONG_LONG
57
#endif
58

  
59 55
#include <stdio.h>
60 56

  
61 57
#ifdef __WAT32__
......
75 71
  #include <dos.h>
76 72
  }
77 73
#endif
78

  
79
#if defined(__GNU__) || defined(__GNUDOS__)
80
  #if !defined(linux) && !defined(__CYGWIN32__) && !defined(__MINGW32__)
81
    #include <strstrea.h>
74
#if defined(__GNUC__)
75
  #if (__GNUC__  < 3)
76
    #include <strstream.h>
82 77
  #else
83
    #if (__GNUC__  >= 3)
84
      #include <sstream>
85
    #else
86
      # include <strstream.h>
87
    #endif
78
    #include <sstream>
88 79
  #endif
89 80
#endif
90 81

  
......
125 116

  
126 117
class cifstream : public ifstream
127 118
{
128
#if defined(__ZTC__) || defined(__GNUDOS__) || defined (__WAT32__)
129 119
  streambuf* bp;
130
#endif
131
#if defined(__BORLANDC__)
132
#  if (__BORLANDC__  >= 0x0520)
133
  streambuf* bp;
134
#  endif
135
#endif
136

  
137
#if ( defined(__MSVC32__) && __MSVC32__ >=7 )
138
  streambuf* bp;
139
#endif
140 120
  char COMMENT_CHAR;
141 121
  char comment_line[SIGNATURE_LENGTH+1];
142 122
  char signature_line[SIGNATURE_LENGTH+1];
......
209 189

  
210 190
  cifstream& operator>>(const dvariable& z);
211 191
 //  cifstream& operator>>(const prevariable& z);
212
#if defined(USE_LONG_LONG)
213 192
  cifstream& operator >> (long long& i);
214
#endif
215 193
  cifstream& operator>>(const long& i);
216 194
  cifstream& operator>>(const int& i);
217 195
  cifstream& operator>>(const double& x);

Also available in: Unified diff