]> git.pld-linux.org Git - packages/TORCS.git/blame - TORCS-compile_fix.patch
- BR: ac,am
[packages/TORCS.git] / TORCS-compile_fix.patch
CommitLineData
f87766a7 1diff -urN aaa/torcs-1.2.1/src/drivers/K1999/K1999.cpp torcs-1.2.1/src/drivers/K1999/K1999.cpp
2--- aaa/torcs-1.2.1/src/drivers/K1999/K1999.cpp 2003-04-19 11:48:14.000000000 +0200
3+++ torcs-1.2.1/src/drivers/K1999/K1999.cpp 2003-07-10 16:32:13.000000000 +0200
4@@ -14,7 +14,7 @@
5 ////////////////////////////////////////////////////////////////////////////
6 #include <iostream.h>
7 #ifndef WIN32
8-#include <strstream.h>
9+#include <strstream>
10 #endif
11 #include <iomanip.h>
12 #include <math.h>
13@@ -515,7 +515,7 @@
14 OUTPUT("initTrack(" << index << ")");
15 char szSettings[100];
16 #ifndef WIN32
17- ostrstream os(szSettings, sizeof(szSettings));
18+ std::ostrstream os(szSettings, sizeof(szSettings));
19 os << "drivers/K1999/" << index << "/settings.xml" << ends;
20 #else
21 sprintf(szSettings, "drivers/K1999/%d/settings.xml", index);
This page took 0.057781 seconds and 4 git commands to generate.