diff options
author | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2014-10-11 07:54:06 +0400 |
---|---|---|
committer | Jason Wilkins <Jason.A.Wilkins@gmail.com> | 2014-10-11 08:21:44 +0400 |
commit | dd897de06114d6a39908f82c228027f633359d0b (patch) | |
tree | d5aa103597e5424dda02a3fda70c2ff5d39c85a0 | |
parent | f7957e2f7ebf3a40d3e7265db707fa88592bceab (diff) |
check for missing Windows error code headers (was missing from Mingw64)
-rw-r--r-- | intern/ghost/intern/GHOST_Context.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/ghost/intern/GHOST_Context.cpp b/intern/ghost/intern/GHOST_Context.cpp index 1b0e8d76321..2815f9aa437 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> |