From d27b114eaf75b1a61cc9600eed1b9cde352d8409 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Wed, 13 May 2015 14:22:00 -0400 Subject: glapi: Add extern "C" to glapi_priv.h * The Haiku glapi has a C++ wrapper around the dispatch code. Reviewed-by: Brian Paul --- src/mapi/glapi/glapi_priv.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') diff --git a/src/mapi/glapi/glapi_priv.h b/src/mapi/glapi/glapi_priv.h index 50f710edc8a..337913acc71 100644 --- a/src/mapi/glapi/glapi_priv.h +++ b/src/mapi/glapi/glapi_priv.h @@ -49,6 +49,10 @@ typedef void *GLeglImageOES; #include "glapi/glapi.h" +#ifdef __cplusplus +extern "C" { +#endif + /* getproc */ extern void @@ -106,4 +110,8 @@ get_entrypoint_address(unsigned int functionOffset); #define MAX_EXTENSION_FUNCS 256 +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3