[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [36605] trunk/blender/intern/ghost/intern: Apply patch from Ryakiotakis Antonis as posted on ML

Nathan Letwory nathan at letworyinteractive.com
Wed May 11 01:54:15 CEST 2011


Revision: 36605
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36605
Author:   jesterking
Date:     2011-05-10 23:54:15 +0000 (Tue, 10 May 2011)
Log Message:
-----------
Apply patch from Ryakiotakis Antonis as posted on ML

Should fix MingW build problems - mingw users, please test too :)

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp
    trunk/blender/intern/ghost/intern/GHOST_SystemWin32.h

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp	2011-05-10 23:48:09 UTC (rev 36604)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemWin32.cpp	2011-05-10 23:54:15 UTC (rev 36605)
@@ -42,7 +42,7 @@
 #include <iostream>
 
 #ifdef FREE_WINDOWS
-#  define _WIN32_WINNT 0x0500 /* GetConsoleWindow() for MinGW */
+#  define WINVER 0x0501 /* GetConsoleWindow() for MinGW */
 #endif
 
 #include "GHOST_SystemWin32.h"

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemWin32.h
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemWin32.h	2011-05-10 23:48:09 UTC (rev 36604)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemWin32.h	2011-05-10 23:54:15 UTC (rev 36605)
@@ -130,9 +130,7 @@
 #ifdef FREE_WINDOWS
 #define NEED_RAW_PROC
 typedef BOOL (WINAPI * LPFNDLLRRID)(RAWINPUTDEVICE*,UINT, UINT);
-#define RegisterRawInputDevices(pRawInputDevices, uiNumDevices, cbSize) ((pRegisterRawInputDevices)?pRegisterRawInputDevices(pRawInputDevices, uiNumDevices, cbSize):0)
 
-
 typedef UINT (WINAPI * LPFNDLLGRID)(HRAWINPUT, UINT, LPVOID, PUINT, UINT);
 #define GetRawInputData(hRawInput, uiCommand, pData, pcbSize, cbSizeHeader) ((pGetRawInputData)?pGetRawInputData(hRawInput, uiCommand, pData, pcbSize, cbSizeHeader):(UINT)-1)
 #endif




More information about the Bf-blender-cvs mailing list