Skip to content

Commit

Permalink
Merge pull request #263 from caolanm/fix_libreoffice_android_build
Browse files Browse the repository at this point in the history
fix error: use of undeclared identifier 'OPENGL_LIB'
  • Loading branch information
ebassi authored Oct 25, 2021
2 parents 71dcab0 + 063c1df commit 8db879f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dispatch_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down

0 comments on commit 8db879f

Please sign in to comment.