[configure.in] Add CAIRO_BEGIN/END_DECLS to config.h

This commit is contained in:
Behdad Esfahbod 2008-09-01 21:49:59 -04:00
parent 2553579cc8
commit 5f571290db

View file

@ -103,6 +103,16 @@ AX_C_FLOAT_WORDS_BIGENDIAN
;;
esac
AH_BOTTOM([
#ifdef __cplusplus
# define CAIRO_BEGIN_DECLS extern "C" {
# define CAIRO_END_DECLS }
#else
# define CAIRO_BEGIN_DECLS
# define CAIRO_END_DECLS
#endif
])
dnl ===========================================================================
dnl === Local macros
dnl ===========================================================================