[Bf-blender-cvs] [fbbac68] master: Cleanup: unused win32 headers

Campbell Barton noreply at git.blender.org
Wed May 11 21:56:41 CEST 2016


Commit: fbbac6807a9234b01c06c97850792efc0ca41880
Author: Campbell Barton
Date:   Thu May 12 04:35:40 2016 +1000
Branches: master
https://developer.blender.org/rBfbbac6807a9234b01c06c97850792efc0ca41880

Cleanup: unused win32 headers

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

M	source/blender/blenkernel/intern/scene.c
M	source/blender/editors/sculpt_paint/paint_image.c
M	source/blender/editors/space_console/space_console.c
M	source/blender/python/intern/bpy_interface.c
M	source/creator/creator.c

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

diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c
index dce4eff..27abbb6 100644
--- a/source/blender/blenkernel/intern/scene.c
+++ b/source/blender/blenkernel/intern/scene.c
@@ -101,11 +101,6 @@
 
 #include "bmesh.h"
 
-#ifdef WIN32
-#else
-#  include <sys/time.h>
-#endif
-
 const char *RE_engine_id_BLENDER_RENDER = "BLENDER_RENDER";
 const char *RE_engine_id_BLENDER_GAME = "BLENDER_GAME";
 const char *RE_engine_id_CYCLES = "CYCLES";
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c
index 4dd521e..7d663a0 100644
--- a/source/blender/editors/sculpt_paint/paint_image.c
+++ b/source/blender/editors/sculpt_paint/paint_image.c
@@ -36,10 +36,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#ifdef WIN32
-#  include "BLI_winstuff.h"
-#endif
-
 #include "BLI_math.h"
 #include "BLI_blenlib.h"
 #include "BLI_utildefines.h"
diff --git a/source/blender/editors/space_console/space_console.c b/source/blender/editors/space_console/space_console.c
index 182f2bd..97a85bc 100644
--- a/source/blender/editors/space_console/space_console.c
+++ b/source/blender/editors/space_console/space_console.c
@@ -27,10 +27,6 @@
 #include <string.h>
 #include <stdio.h>
 
-#ifdef WIN32
-#  include "BLI_winstuff.h"
-#endif
-
 #include "MEM_guardedalloc.h"
 
 #include "BLI_blenlib.h"
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c
index b559623..11af083 100644
--- a/source/blender/python/intern/bpy_interface.c
+++ b/source/blender/python/intern/bpy_interface.c
@@ -31,10 +31,6 @@
 
 #include <Python.h>
 
-#ifdef WIN32
-#  include "BLI_math_base.h"  /* finite */
-#endif
-
 #include "MEM_guardedalloc.h"
 
 #include "BLI_utildefines.h"
diff --git a/source/creator/creator.c b/source/creator/creator.c
index c32ba94..315d0d4 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -42,10 +42,6 @@
 
 #include "MEM_guardedalloc.h"
 
-#ifdef WIN32
-#  include "BLI_winstuff.h"
-#endif
-
 #include "BLI_args.h"
 #include "BLI_threads.h"
 #include "BLI_utildefines.h"




More information about the Bf-blender-cvs mailing list