diff options
Diffstat (limited to 'src/libeinfo')
-rw-r--r-- | src/libeinfo/einfo.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/libeinfo/einfo.h b/src/libeinfo/einfo.h index 31a891f8..8fe56497 100644 --- a/src/libeinfo/einfo.h +++ b/src/libeinfo/einfo.h @@ -48,6 +48,16 @@ # endif #endif +#undef __BEGIN_DECLS +#undef __END_DECLS +#ifdef __cplusplus +# define __BEGIN_DECLS extern "C" { +# define __END_DECLS } +#else +# define __BEGIN_DECLS /* empty */ +# define __END_DECLS /* empty */ +#endif + __BEGIN_DECLS /*! @brief Color types to use */ |