summaryrefslogtreecommitdiffstats
path: root/video/out/gl_header_fixes.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_header_fixes.h')
-rw-r--r--video/out/gl_header_fixes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gl_header_fixes.h b/video/out/gl_header_fixes.h
index da40e7a485..9fe1e88036 100644
--- a/video/out/gl_header_fixes.h
+++ b/video/out/gl_header_fixes.h
@@ -27,7 +27,7 @@
#ifndef GLAPIENTRY
#ifdef APIENTRY
#define GLAPIENTRY APIENTRY
-#elif defined(CONFIG_GL_WIN32)
+#elif HAVE_GL_WIN32
#define GLAPIENTRY __stdcall
#else
#define GLAPIENTRY
@@ -222,7 +222,7 @@
/** \} */ // end of glextdefines group
-#if defined(CONFIG_GL_WIN32) && !defined(WGL_CONTEXT_MAJOR_VERSION_ARB)
+#if HAVE_GL_WIN32 && !defined(WGL_CONTEXT_MAJOR_VERSION_ARB)
/* these are supposed to be defined in wingdi.h but mingw's is too old */
/* only the bits actually used by mplayer are defined */
/* reference: http://www.opengl.org/registry/specs/ARB/wgl_create_context.txt */