mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-07 07:28:02 +02:00
[configure.in] Add CAIRO_BEGIN/END_DECLS to config.h
This commit is contained in:
parent
2553579cc8
commit
5f571290db
1 changed files with 10 additions and 0 deletions
10
configure.in
10
configure.in
|
|
@ -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 ===========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue