blob: b1a24e59b9a78d01c5023e2848d47c860c1b14ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
Index: sidplay-2.0.9/configure
===================================================================
--- sidplay-2.0.9.orig/configure
+++ sidplay-2.0.9/configure
@@ -19985,11 +19985,11 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <new.h>
+#include <new>
int
main ()
{
-char* buf = new(nothrow) char[1024];
+char* buf = new(std::nothrow) char[1024];
;
return 0;
}
@@ -20052,11 +20052,11 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <fstream.h>
+#include <fstream>
int
main ()
{
-ifstream myTest(ios::in|ios::binary);
+std::ifstream myTest("test.txt", std::ios::in|std::ios::binary);
;
return 0;
}
@@ -20118,12 +20118,12 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-#include <fstream.h>
- #include <iomanip.h>
+#include <fstream>
+ #include <iomanip>
int
main ()
{
-ios::openmode myTest = ios::in;
+std::ios::openmode myTest = std::ios::in;
;
return 0;
}
|