From: curt Date: Thu, 11 Jan 2001 03:33:09 +0000 (+0000) Subject: Minor MSVC tweaks by Christian Mayer. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0de60aa6aa041eb5e7b4d9731dd0153f30573f8e;p=simgear.git Minor MSVC tweaks by Christian Mayer. --- diff --git a/simgear/io/sg_binobj.cxx b/simgear/io/sg_binobj.cxx index 98e8da55..74e8feee 100644 --- a/simgear/io/sg_binobj.cxx +++ b/simgear/io/sg_binobj.cxx @@ -40,13 +40,10 @@ #include "lowlevel.hxx" #include "sg_binobj.hxx" -#ifdef _MSC_VER -# include -#endif - FG_USING_STD( cout ); FG_USING_STD( endl ); + enum { SG_BOUNDING_SPHERE = 0, @@ -492,7 +489,7 @@ bool SGBinObject::write_bin( const string& base, const string& name, string dir = base + "/" + b.gen_base_path(); string command = "mkdir -p " + dir; #ifdef _MSC_VER - fg_mkdir( dir.c_str() ); + system( (string("mkdir ") + dir).c_str() ); #else system(command.c_str()); #endif @@ -769,7 +766,7 @@ bool SGBinObject::write_ascii( const string& base, const string& name, string dir = base + "/" + b.gen_base_path(); string command = "mkdir -p " + dir; #ifdef _MSC_VER - fg_mkdir( dir.c_str() ); + system( (string("mkdir ") + dir).c_str() ); #else system(command.c_str()); #endif