mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 17:30:12 +01:00
mesa: Wrap extensions.h declarations with extern "C".
This should fix the MSVC linker failures that arose with commit
5e2d25894b.
Trivial.
This commit is contained in:
parent
f48f344700
commit
f93c22109e
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue