[Bf-blender-cvs] [ba8b9ae] master: Keep mingw specific includes ifdef'd
Campbell Barton
noreply at git.blender.org
Tue Feb 3 12:55:44 CET 2015
Commit: ba8b9ae307010ee5e8e43c6afc4c9d0571c2bf73
Author: Campbell Barton
Date: Tue Feb 3 22:54:57 2015 +1100
Branches: master
https://developer.blender.org/rBba8b9ae307010ee5e8e43c6afc4c9d0571c2bf73
Keep mingw specific includes ifdef'd
===================================================================
M source/blender/blenlib/intern/rand.c
===================================================================
diff --git a/source/blender/blenlib/intern/rand.c b/source/blender/blenlib/intern/rand.c
index a03b236..ea13491 100644
--- a/source/blender/blenlib/intern/rand.c
+++ b/source/blender/blenlib/intern/rand.c
@@ -33,7 +33,10 @@
#include <stdlib.h>
#include <string.h>
#include <math.h>
-#include <time.h>
+
+#ifdef __MINGW32__
+# include <time.h>
+#endif
#include "MEM_guardedalloc.h"
More information about the Bf-blender-cvs
mailing list