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/egllog.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/egllog.h')
-rw-r--r-- | src/egl/main/egllog.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/egl/main/egllog.h b/src/egl/main/egllog.h index 12a477ee054..cf58525005e 100644 --- a/src/egl/main/egllog.h +++ b/src/egl/main/egllog.h @@ -34,6 +34,10 @@ #include "egltypedefs.h" +#ifdef __cplusplus +extern "C" { +#endif + #define _EGL_FATAL 0 /* unrecoverable error */ #define _EGL_WARNING 1 /* recoverable error/problem */ #define _EGL_INFO 2 /* just useful info */ @@ -55,4 +59,8 @@ extern void _eglLog(EGLint level, const char *fmtStr, ...); +#ifdef __cplusplus +} +#endif + #endif /* EGLLOG_INCLUDED */ |