Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-01-22 09:59:09 +0300
committerCampbell Barton <campbell@blender.org>2022-01-22 09:59:09 +0300
commit25c99e72cdac0545ab5e2005b56a556313612758 (patch)
treef84e5e7dcfeaf383d485be917c6b1b97d9a744eb /source
parentb7878a4d457a59d4a42f8ac0f428ea336562d75a (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')
-rw-r--r--source/blender/bmesh/intern/bmesh_private.h8
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