summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config_host/config_opengl.h.in2
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/config_host/config_opengl.h.in b/config_host/config_opengl.h.in
index b2c63582b0d8..67b9e47a79a1 100644
--- a/config_host/config_opengl.h.in
+++ b/config_host/config_opengl.h.in
@@ -5,6 +5,6 @@ Settings for OpenGL
#ifndef CONFIG_OPENGL_H
#define CONFIG_OPENGL_H
-#undef HAVE_GLEW_1_12
+#define HAVE_GLEW_1_12 0
#endif
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 326250c0f644..f7f2d0f135fe 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -440,7 +440,7 @@ APIENTRY
#endif
debug_callback(GLenum source, GLenum type, GLuint id,
GLenum severity, GLsizei , const GLchar* message,
-#if defined HAVE_GLEW_1_12
+#if HAVE_GLEW_1_12
const GLvoid*
#else
GLvoid*