]> git.mxchange.org Git - simgear.git/blobdiff - simgear/io/decode_binobj.cxx
Add default constructor to simgear::Dir
[simgear.git] / simgear / io / decode_binobj.cxx
index f2af87d88d058d9969bbb8fb464bc8c8a077eb8b..0c4a99226841cb3655200bca76bfc6b2e884382d 100644 (file)
@@ -4,13 +4,18 @@
 
 #include <simgear/compiler.h>
 
+#ifndef _WIN32
 #include <unistd.h>
+#endif
+
 #include <iostream>
+#include <cstdlib>
+#include <cstdio>
 
 #include "sg_binobj.hxx"
 
-SG_USING_STD(cout);
-SG_USING_STD(endl);
+using std::cout;
+using std::endl;
 
 
 int main( int argc, char **argv ) {
@@ -63,7 +68,7 @@ int main( int argc, char **argv ) {
     cout << "# geometry groups" << endl;
     cout << endl;
 
-    string material;
+    std::string material;
     int_list vertex_index;
     int_list normal_index;
     int_list tex_index;