From: fredb Date: Thu, 11 Jan 2007 22:06:33 +0000 (+0000) Subject: MSVC compilation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eb1f19abf764abd35e370c23aa58ec134edbc92d;p=flightgear.git MSVC compilation --- diff --git a/utils/GPSsmooth/UGear_main.cxx b/utils/GPSsmooth/UGear_main.cxx index bad1a9bf6..f10a7f84e 100644 --- a/utils/GPSsmooth/UGear_main.cxx +++ b/utils/GPSsmooth/UGear_main.cxx @@ -2,7 +2,11 @@ # include #endif -#include // for bzero() +#ifndef _MSC_VER +# include // for bzero() +#else +# define bzero(a,b) memset(a,0,b) +#endif #include #include