Commit: dd897de06114d6a39908f82c228027f633359d0b
Author: Jason Wilkins
Date:   Fri Oct 10 22:54:06 2014 -0500
Branches: master
https://developer.blender.org/rBdd897de06114d6a39908f82c228027f633359d0b

check for missing Windows error code headers (was missing from Mingw64)

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

M       intern/ghost/intern/GHOST_Context.cpp

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

diff --git a/intern/ghost/intern/GHOST_Context.cpp 
b/intern/ghost/intern/GHOST_Context.cpp
index 1b0e8d7..2815f9a 100644
--- a/intern/ghost/intern/GHOST_Context.cpp
+++ b/intern/ghost/intern/GHOST_Context.cpp
@@ -36,6 +36,10 @@
 #ifdef _WIN32
 #  include <GL/wglew.h> // only for symbolic constants, do not use API 
functions
 #  include <tchar.h>
+#
+#  ifndef ERROR_PROFILE_DOES_NOT_MATCH_DEVICE
+#    define ERROR_PROFILE_DOES_NOT_MATCH_DEVICE 0x7E7 // Mingw64 headers may 
have had this
+#  endif
 #endif
 
 #include <cstdio>

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to