aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gmail.com>2021-10-25 17:55:28 +0100
committerGitHub <noreply@github.com>2021-10-25 17:55:28 +0100
commit8db879f810e2dbc63824c43c17eeea0d3dbca1a2 (patch)
tree3f4972dcbdce2b2df4481ea1b0ea4a48c81a8815
parent71dcab0cc9accb322771fa8587241ee63fb76dd0 (diff)
parent063c1df27974f58b0f3c0a57417732da068923cf (diff)
downloadlibepoxy-8db879f810e2dbc63824c43c17eeea0d3dbca1a2.tar.gz
Merge pull request #263 from caolanm/fix_libreoffice_android_build
fix error: use of undeclared identifier 'OPENGL_LIB'
-rw-r--r--src/dispatch_common.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c
index 592df38..153eb7c 100644
--- a/src/dispatch_common.c
+++ b/src/dispatch_common.c
@@ -683,7 +683,11 @@ epoxy_load_gl(void)
#endif
if (!api.gl_handle) {
+#if defined(OPENGL_LIB)
fprintf(stderr, "Couldn't open %s or %s\n", GLX_LIB, OPENGL_LIB);
+#else
+ fprintf(stderr, "Couldn't open %s\n", GLX_LIB);
+#endif
abort();
}