diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-18 12:55:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-18 12:56:31 +0300 |
commit | 5efd2b7f36fbe2444e77d2b7b275d793da997c84 (patch) | |
tree | 901b9a9b0025726273c8321275fd50d432abda32 /source/blender/blenlib | |
parent | 4dae5a7c3a6b2903f1623650135b2ff8c1fdfe93 (diff) |
correct another problem with BLI_assert
need to use extern C for C++
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_utildefines.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_utildefines.h b/source/blender/blenlib/BLI_utildefines.h index a6dee7fd263..9a8877e39c3 100644 --- a/source/blender/blenlib/BLI_utildefines.h +++ b/source/blender/blenlib/BLI_utildefines.h @@ -32,6 +32,10 @@ * \ingroup bli */ +#ifdef __cplusplus +extern "C" { +#endif + /* avoid many includes for now */ #include "BLI_sys_types.h" #include "BLI_compiler_compat.h" @@ -560,4 +564,8 @@ extern void BLI_system_backtrace(FILE *fp); # define UNLIKELY(x) (x) #endif +#ifdef __cplusplus +} +#endif + #endif /* __BLI_UTILDEFINES_H__ */ |