diff options
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 */ |