From: david Date: Wed, 3 Jul 2002 02:06:23 +0000 (+0000) Subject: MSVC++ bug work-around from Frederic Bouvier. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d6a790cf13383dc6beb6cafb7f8a5b81f463895e;p=simgear.git MSVC++ bug work-around from Frederic Bouvier. --- diff --git a/simgear/misc/props.cxx b/simgear/misc/props.cxx index c198858b..6b8ce677 100644 --- a/simgear/misc/props.cxx +++ b/simgear/misc/props.cxx @@ -19,6 +19,7 @@ using std::cerr; using std::endl; using std::find; using std::sort; +using std::vector; #else @@ -29,6 +30,13 @@ SG_USING_STD(sort); SG_USING_STD(find); SG_USING_STD(vector); +#ifdef _MSC_VER +// MSVC is buggy, and needs something strange here +SG_USING_STD(vector); +SG_USING_STD(vector); +SG_USING_STD(vector); +#endif + #endif