diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-22 09:59:09 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-22 09:59:09 +0300 |
commit | 25c99e72cdac0545ab5e2005b56a556313612758 (patch) | |
tree | f84e5e7dcfeaf383d485be917c6b1b97d9a744eb /source/blender | |
parent | b7878a4d457a59d4a42f8ac0f428ea336562d75a (diff) |
Fix linking in debug mode
b7878a4d457a59d4a42f8ac0f428ea336562d75a seems to have caused linking
issues building debug mode on Linux.
Using extern "C" resolves.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/intern/bmesh_private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/bmesh/intern/bmesh_private.h b/source/blender/bmesh/intern/bmesh_private.h index 977142578ca..4b3c4cbff82 100644 --- a/source/blender/bmesh/intern/bmesh_private.h +++ b/source/blender/bmesh/intern/bmesh_private.h @@ -27,6 +27,10 @@ * parts of the bmesh internals. */ +#ifdef __cplusplus +extern "C" { +#endif + /* returns positive nonzero on error */ #ifdef NDEBUG @@ -102,3 +106,7 @@ void poly_rotate_plane(const float normal[3], float (*verts)[3], uint nverts); /* include the rest of our private declarations */ #include "bmesh_structure.h" + +#ifdef __cplusplus +} +#endif |