Skip to content

Commit b9fd1d9

Browse files
authored
Merge pull request #191 from mapycz/pycairo-import
Avoid redefining Pycairo_CAPI
2 parents 5eb321b + 1080e54 commit b9fd1d9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mapnik_image.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include <mapnik/cairo/cairo_context.hpp>
4545
#include <mapnik/cairo/cairo_image_util.hpp>
4646
#if PY_MAJOR_VERSION >= 3
47+
#define PYCAIRO_NO_IMPORT
4748
#include <py3cairo.h>
4849
#else
4950
#include <pycairo.h>

0 commit comments

Comments
 (0)