summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-23 03:01:35 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-05-23 03:02:32 +0200
commitc68c5e753de14579ba8a5f8bd5360bc0e3fd7c33 (patch)
treee43043f8135b842fb06be923827ab9391e17d30a /vcl
parentcb167ac784f9b16944da4494b65e56b2a5b66bb7 (diff)
the variable is only available on linux
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index cba0b52357f1..974f9130535f 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -21,7 +21,7 @@ using namespace com::sun::star;
GLWindow::~GLWindow()
{
-#if defined( UNX )
+#if defined( UNX ) && !defined MACOSX && !defined IOS && !defined ANDROID
XFree(vi);
#endif
}