diff options
author | Alexander von Gluck IV <[email protected]> | 2015-05-13 17:13:37 -0500 |
---|---|---|
committer | Alexander von Gluck IV <[email protected]> | 2015-05-14 14:08:37 -0400 |
commit | 8362068c1b28eb2d3e334abc980c4711957d61fd (patch) | |
tree | 18022327791b5e8899bcd0442ce48c3c2640a616 /src/egl/main/egldisplay.h | |
parent | 175cbb447ae85b93b8b0244f345064763131481f (diff) |
egl: Add needed extern "C" for C++ access
* Haiku's egl driver is C++ due to the interface natively being C++
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/egl/main/egldisplay.h')
-rw-r--r-- | src/egl/main/egldisplay.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/egl/main/egldisplay.h b/src/egl/main/egldisplay.h index 36f50b97cb3..6862e2f51b7 100644 --- a/src/egl/main/egldisplay.h +++ b/src/egl/main/egldisplay.h @@ -39,6 +39,10 @@ #include "eglarray.h" +#ifdef __cplusplus +extern "C" { +#endif + enum _egl_platform_type { _EGL_PLATFORM_WINDOWS, _EGL_PLATFORM_X11, @@ -270,4 +274,9 @@ _eglGetWaylandDisplay(struct wl_display *native_display, const EGLint *attrib_list); #endif + +#ifdef __cplusplus +} +#endif + #endif /* EGLDISPLAY_INCLUDED */ |