Skip to content

Commit

Permalink
8256012: Fix build of Monocle for Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
jgneff committed Nov 7, 2020
1 parent dd22cd2 commit 9ae6208
Showing 1 changed file with 3 additions and 6 deletions.
Expand Up @@ -23,6 +23,9 @@
* questions.
*/

#ifndef ANDROID_NDK
#define _GNU_SOURCE
#endif
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
Expand All @@ -32,13 +35,7 @@
#include <EGL/egl.h>
#include "eglUtils.h"

#include "../PrismES2Defs.h"

#include "com_sun_prism_es2_MonocleGLContext.h"
#ifndef ANDROID
#define __USE_GNU
#include <dlfcn.h>
#endif

extern void *get_dlsym(void *handle, const char *symbol, int warn);

Expand Down

0 comments on commit 9ae6208

Please sign in to comment.