aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander von Gluck IV <[email protected]>2015-05-13 14:22:00 -0400
committerAlexander von Gluck IV <[email protected]>2015-05-13 15:26:26 -0400
commitd27b114eaf75b1a61cc9600eed1b9cde352d8409 (patch)
treefb8fa1a38607dd971fc1d91da766bbdf437adda0 /src
parent915d808a5653653b5c7b5413c4f667db017239ec (diff)
glapi: Add extern "C" to glapi_priv.h
* The Haiku glapi has a C++ wrapper around the dispatch code. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mapi/glapi/glapi_priv.h8
1 files changed, 8 insertions, 0 deletions
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