System console toggling for MinGW
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Nov 2010 20:32:28 +0000 (20:32 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 11 Nov 2010 20:32:28 +0000 (20:32 +0000)
commit0d488e00c8e10ab55d38bc8bc799a12a117d7402
tree5de00bdd3b57d23c32c30c83293dea437abb38d7
parentb96bd0a7325bf8fbe00aa91cbac51961d2a2ef0b
System console toggling for MinGW

Define WINVER=0x0501 for MinGW due to some stuff requres this winver, but
MinGW's default is 0x0400 (thanks AlexKu for point)

Better to replace all #include <windows.h> with #include "BLI_winstuff.h" to
avoid possibility of different functions prototypes in different modules.
source/blender/blenlib/BLI_winstuff.h
source/blender/windowmanager/intern/wm_operators.c