diff options
-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> |