]>
Commit | Line | Data |
---|---|---|
7806e202 | 1 | --- ddd-3.3.1/ddd/strclass.C.gcc Fri Mar 30 14:31:46 2001 |
2 | +++ ddd-3.3.1/ddd/strclass.C Fri Feb 22 11:25:30 2002 | |
3 | @@ -1431,7 +1431,7 @@ | |
4 | } | |
5 | x.rep->s[i] = 0; | |
6 | x.rep->len = i; | |
7 | -#if HAVE_IOSTATE | |
8 | +#if defined(__GNUC__) && __GNUC__ >= 3 | |
9 | ios::iostate new_state = s.rdstate(); | |
10 | #else | |
11 | int new_state = s.rdstate(); | |
12 | --- ddd-3.3.1/ddd/logplayer.C.gcc Thu Apr 26 13:08:07 2001 | |
13 | +++ ddd-3.3.1/ddd/logplayer.C Fri Feb 22 11:33:18 2002 | |
14 | @@ -33,6 +33,8 @@ | |
15 | #pragma implementation | |
16 | #endif | |
17 | ||
18 | +#include <fstream.h> | |
19 | + | |
20 | #include "logplayer.h" | |
21 | ||
22 | #include "assert.h" | |
23 | @@ -43,7 +45,6 @@ | |
24 | #include "streampos.h" | |
25 | ||
26 | #include <iostream.h> | |
27 | -#include <fstream.h> | |
28 | #include <stdlib.h> | |
29 | #include <stdio.h> | |
30 | #include <unistd.h> |