Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2005-03-20 00:08:13 +0300
committerDaniel Dunbar <daniel@zuster.org>2005-03-20 00:08:13 +0300
commit8e92ee86842246c036481bc8a2318ad4c8481b92 (patch)
tree5e5097b4a8eb10da9051ef3ab662eb150cbf8c92 /source/blender/python/api2_2x
parentf74662dcc12cb82fddce7d1c3f7ac122fb1ab7eb (diff)
- remove all obsolete inclusions of BLI_winstuff.h (due to recent changes)
NOTE: BLI_winstuff.h was meant to be a wrapper around windows.h to handle undefining various crap that windows.h defines. Platform specific headers should only have to be included in a few places. This reduces the number of inclusions of BLI_winstuff.h to 16 which is a much more reasonable number (than the 144 or whatever it used to be)
Diffstat (limited to 'source/blender/python/api2_2x')
-rw-r--r--source/blender/python/api2_2x/BGL.h4
-rw-r--r--source/blender/python/api2_2x/Blender.c1
-rw-r--r--source/blender/python/api2_2x/Draw.c4
-rw-r--r--source/blender/python/api2_2x/Image.c4
4 files changed, 0 insertions, 13 deletions
diff --git a/source/blender/python/api2_2x/BGL.h b/source/blender/python/api2_2x/BGL.h
index e5eef1de37e..c1c8c824fac 100644
--- a/source/blender/python/api2_2x/BGL.h
+++ b/source/blender/python/api2_2x/BGL.h
@@ -43,10 +43,6 @@
#include <config.h>
#endif
-#ifdef WIN32
-#include "BLI_winstuff.h"
-#endif
-
#include "MEM_guardedalloc.h"
#include "BMF_Api.h"
diff --git a/source/blender/python/api2_2x/Blender.c b/source/blender/python/api2_2x/Blender.c
index a38847baab8..342c167530f 100644
--- a/source/blender/python/api2_2x/Blender.c
+++ b/source/blender/python/api2_2x/Blender.c
@@ -37,7 +37,6 @@
#ifndef WIN32
#include <unistd.h>
#else
-#include "BLI_winstuff.h"
#include <io.h>
#endif
diff --git a/source/blender/python/api2_2x/Draw.c b/source/blender/python/api2_2x/Draw.c
index 0cde76f39fa..4426c76218e 100644
--- a/source/blender/python/api2_2x/Draw.c
+++ b/source/blender/python/api2_2x/Draw.c
@@ -41,10 +41,6 @@
#include <config.h>
#endif
-#ifdef WIN32
-#include "BLI_winstuff.h"
-#endif
-
#include "BLI_blenlib.h"
#include "MEM_guardedalloc.h"
diff --git a/source/blender/python/api2_2x/Image.c b/source/blender/python/api2_2x/Image.c
index d2fbc3324a2..b5eb094e328 100644
--- a/source/blender/python/api2_2x/Image.c
+++ b/source/blender/python/api2_2x/Image.c
@@ -30,10 +30,6 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-#ifdef WIN32
-#include "BLI_winstuff.h"
-#endif /* WIN32 */
-
#include <BDR_drawmesh.h> /* free_realtime_image */
#include <BKE_main.h>
#include <BKE_global.h>