summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-18 14:42:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-18 14:42:03 +0200
commit83fc2cfb34b584f41d27a5f04dd9405cf55bd528 (patch)
treed18bff5fe98279cefff89033bf81e41b561c2238
parentgtk3: implement paste everything else into us (diff)
downloadcore-83fc2cfb34b584f41d27a5f04dd9405cf55bd528.tar.gz
core-83fc2cfb34b584f41d27a5f04dd9405cf55bd528.zip
loplugin:checkconfigmacros
Change-Id: Ia94c53457e328db9bdd8dd22d7a39e49c358301c
-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*