From 09b0dd2b2d7d934c1d4059cb2cbd3b4fcbb7872f Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Sat, 15 Oct 2011 09:42:15 +0200 Subject: [PATCH] Fix windows build --- simgear/io/test_binobj.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/simgear/io/test_binobj.cxx b/simgear/io/test_binobj.cxx index 20c7ad33..50d60913 100644 --- a/simgear/io/test_binobj.cxx +++ b/simgear/io/test_binobj.cxx @@ -9,6 +9,10 @@ #include #include +#ifdef _MSC_VER +# define random rand +#endif + #include #include "sg_binobj.hxx"