]> git.mxchange.org Git - simgear.git/commitdiff
Fix windows build
authorFrederic Bouvier <fredfgfs01@free.fr>
Sat, 15 Oct 2011 07:42:15 +0000 (09:42 +0200)
committerFrederic Bouvier <fredfgfs01@free.fr>
Sat, 15 Oct 2011 07:42:15 +0000 (09:42 +0200)
simgear/io/test_binobj.cxx

index 20c7ad338e233b441a9585711490186cbac0d895..50d60913eeb5da25e540b9bb5e4306f8a535ff59 100644 (file)
@@ -9,6 +9,10 @@
 #include <cstdlib>
 #include <cstdio>
 
+#ifdef _MSC_VER
+#   define  random  rand
+#endif
+
 #include <simgear/misc/sg_dir.hxx>
 
 #include "sg_binobj.hxx"