]> git.mxchange.org Git - flightgear.git/commitdiff
MSVC compilation
authorfredb <fredb>
Thu, 11 Jan 2007 22:06:33 +0000 (22:06 +0000)
committerfredb <fredb>
Thu, 11 Jan 2007 22:06:33 +0000 (22:06 +0000)
utils/GPSsmooth/UGear_main.cxx

index bad1a9bf63c2a642f232b8b714a4c04a20ba1ddd..f10a7f84ee845ce8a42c8932f4016c7ac0a8bf97 100644 (file)
@@ -2,7 +2,11 @@
 #  include <config.h>
 #endif
 
-#include <strings.h>           // for bzero()
+#ifndef _MSC_VER
+#  include <strings.h>         // for bzero()
+#else
+#  define bzero(a,b) memset(a,0,b)
+#endif
 #include <iostream>
 #include <string>