]> git.mxchange.org Git - flightgear.git/commitdiff
MSVC compile issues.
authorThorstenB <brehmt@gmail.com>
Sat, 24 Nov 2012 12:33:36 +0000 (13:33 +0100)
committerThorstenB <brehmt@gmail.com>
Sat, 24 Nov 2012 12:33:36 +0000 (13:33 +0100)
src/AIModel/AIManager.cxx
src/Main/fg_init.cxx

index 44051671d25af5c126966a9b5316af15d5b84ac2..3c5617247001250810cd6980ae2cf8cc9f94bddb 100644 (file)
@@ -19,6 +19,7 @@
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 #include <cstring>
+#include <algorithm>
 
 #include <simgear/sg_inlines.h>
 #include <simgear/math/sg_geodesy.hxx>
index 23fca0508547fc0a2865a7d99355a182a1a1502b..28a0e666419433abb53912966f42cc0e81b366ce 100644 (file)
@@ -965,7 +965,7 @@ void fgShowAircraft(const SGPath &path)
         
 #ifdef _MSC_VER
     cout << "Hit a key to continue..." << endl;
-    cin.get();
+    std::cin.get();
 #endif
 }