From eb1f19abf764abd35e370c23aa58ec134edbc92d Mon Sep 17 00:00:00 2001 From: fredb Date: Thu, 11 Jan 2007 22:06:33 +0000 Subject: [PATCH] MSVC compilation --- utils/GPSsmooth/UGear_main.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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