From 0de60aa6aa041eb5e7b4d9731dd0153f30573f8e Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 11 Jan 2001 03:33:09 +0000 Subject: [PATCH] Minor MSVC tweaks by Christian Mayer. --- simgear/io/sg_binobj.cxx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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 -- 2.39.5