Skip to content

Commit

Permalink
Merge pull request #191 from mapycz/pycairo-import
Browse files Browse the repository at this point in the history
Avoid redefining Pycairo_CAPI
  • Loading branch information
lightmare authored Sep 21, 2019
2 parents 5eb321b + 1080e54 commit b9fd1d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mapnik_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
#include <mapnik/cairo/cairo_context.hpp>
#include <mapnik/cairo/cairo_image_util.hpp>
#if PY_MAJOR_VERSION >= 3
#define PYCAIRO_NO_IMPORT
#include <py3cairo.h>
#else
#include <pycairo.h>
Expand Down

0 comments on commit b9fd1d9

Please sign in to comment.