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:
authorJoshua Leung <aligorith@gmail.com>2010-11-12 01:05:17 +0300
committerJoshua Leung <aligorith@gmail.com>2010-11-12 01:05:17 +0300
commitbc3ea2cb6697a6ebf263504105320a7a7b784075 (patch)
tree7886b40a71912b62f7e8101e38357b48e14331ce /source/blender/windowmanager
parentfd9afa74316fc276f2dfe70102db7d305b3bec22 (diff)
Revert r33023
Was causing compile troubles with MSVC: wm_operators.c C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(322) : error C3163: '_write': attribute s inconsistent with previous declaration C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\io.h(224) : see declaration of '_wri te' scons: *** [C:\blenderdev\b250\buildvc\source\blender\windowmanager\intern\wm_operators.obj] Error 2
Diffstat (limited to 'source/blender/windowmanager')
-rw-r--r--source/blender/windowmanager/intern/wm_operators.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_operators.c b/source/blender/windowmanager/intern/wm_operators.c
index 307e6514c71..e88478a77c9 100644
--- a/source/blender/windowmanager/intern/wm_operators.c
+++ b/source/blender/windowmanager/intern/wm_operators.c
@@ -34,7 +34,10 @@
#include <assert.h>
#ifdef WIN32
-#include "BLI_winstuff.h"
+// XXX: winstuff commented out, as was getting "io.h(322) : error C3163: '_write': attribute..." from MSVC - Aligorith 2010Nov12
+//#include "BLI_winstuff.h"
+#include <windows.h>
+
#include <io.h>
#endif