projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48f344
)
mesa: Wrap extensions.h declarations with extern "C".
author
Jose Fonseca
<jfonseca@vmware.com>
Fri, 10 Jun 2016 10:00:42 +0000
(11:00 +0100)
committer
Jose Fonseca
<jfonseca@vmware.com>
Fri, 10 Jun 2016 10:00:42 +0000
(11:00 +0100)
This should fix the MSVC linker failures that arose with commit
5e2d25894b962aae9158261897e13843377e3b95
.
Trivial.
src/mesa/main/extensions.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/extensions.h
b/src/mesa/main/extensions.h
index b5e035072311bfc4b2636ae5efff85183bdfc83b..43ef6aa645158479fb4020dd1809b3c0ee29cff5 100644
(file)
--- a/
src/mesa/main/extensions.h
+++ b/
src/mesa/main/extensions.h
@@
-38,6
+38,10
@@
#include "glheader.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct gl_context;
struct gl_extensions;
@@
-102,4
+106,8
@@
_mesa_has_##name_str(const struct gl_context *ctx) \
extern struct gl_extensions _mesa_extension_override_enables;
extern struct gl_extensions _mesa_extension_override_disables;
+#ifdef __cplusplus
+}
+#endif
+
#endif