diff options
Diffstat (limited to 'source/blender/blenlib/BLI_console.h')
-rw-r--r-- | source/blender/blenlib/BLI_console.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_console.h b/source/blender/blenlib/BLI_console.h index bf433f78f70..66d6846fbc2 100644 --- a/source/blender/blenlib/BLI_console.h +++ b/source/blender/blenlib/BLI_console.h @@ -26,6 +26,10 @@ #ifndef __BLI_CONSOLE_H__ #define __BLI_CONSOLE_H__ +#ifdef __cplusplus +extern "C" { +#endif + /** \file BLI_console.h * \ingroup bli * \brief Set of utility functions and constants to work with consoles. @@ -39,4 +43,8 @@ /* Marker which indicates that colored output is finished. */ #define TRUECOLOR_ANSI_COLOR_FINISH "\x1b[0m" +#ifdef __cplusplus +} +#endif + #endif /* __BLI_CONSOLE_H__ */ |