diff options
author | Jose Fonseca <[email protected]> | 2016-06-10 11:00:42 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2016-06-10 11:00:42 +0100 |
commit | f93c22109e281ee927c3bb349b94a43fd47ed9ad (patch) | |
tree | f8840b0df5fbfc5d9630196168895f46f5583eb1 /src/mesa/main/extensions.h | |
parent | f48f3447005ba4f888fa2e4a7335014c7d04878a (diff) |
mesa: Wrap extensions.h declarations with extern "C".
This should fix the MSVC linker failures that arose with commit
5e2d25894b962aae9158261897e13843377e3b95.
Trivial.
Diffstat (limited to 'src/mesa/main/extensions.h')
-rw-r--r-- | src/mesa/main/extensions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/extensions.h b/src/mesa/main/extensions.h index b5e03507231..43ef6aa6451 100644 --- 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 |