projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
egl: Add needed extern "C" for C++ access
[mesa.git]
/
src
/
egl
/
main
/
eglcontext.h
diff --git
a/src/egl/main/eglcontext.h
b/src/egl/main/eglcontext.h
index 241917f3bead6df77675da829bb62d6c9448a3da..69bf77d8aff7702c6af787fa5ee6b350d21de929 100644
(file)
--- a/
src/egl/main/eglcontext.h
+++ b/
src/egl/main/eglcontext.h
@@
-37,6
+37,10
@@
#include "egldisplay.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* "Base" class for device driver contexts.
*/
@@
-150,4
+154,8
@@
_eglGetContextHandle(_EGLContext *ctx)
}
+#ifdef __cplusplus
+}
+#endif
+
#endif /* EGLCONTEXT_INCLUDED */