[Bf-blender-cvs] [1667e68] master: Revert "Keep mingw specific includes ifdef'd"

Campbell Barton noreply at git.blender.org
Tue Feb 3 13:25:05 CET 2015


Commit: 1667e68797a599c204fefa318df42d434ccb2188
Author: Campbell Barton
Date:   Tue Feb 3 23:24:13 2015 +1100
Branches: master
https://developer.blender.org/rB1667e68797a599c204fefa318df42d434ccb2188

Revert "Keep mingw specific includes ifdef'd"

This reverts commit ba8b9ae307010ee5e8e43c6afc4c9d0571c2bf73.

Turns out this is needed on other systems, just happened to be indirect included on them.

===================================================================

M	source/blender/blenlib/intern/rand.c

===================================================================

diff --git a/source/blender/blenlib/intern/rand.c b/source/blender/blenlib/intern/rand.c
index ea13491..a03b236 100644
--- a/source/blender/blenlib/intern/rand.c
+++ b/source/blender/blenlib/intern/rand.c
@@ -33,10 +33,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <math.h>
-
-#ifdef __MINGW32__
-#  include <time.h>
-#endif
+#include <time.h>
 
 #include "MEM_guardedalloc.h"




More information about the Bf-blender-cvs mailing list