mapnik/osx/patches/boost_python1_46_1_for_3.2.diff
2011-04-18 18:12:27 +00:00

14 lines
574 B
Diff

Index: libs/python/src/converter/builtin_converters.cpp
===================================================================
--- libs/python/src/converter/builtin_converters.cpp (revision 56305)
+++ libs/python/src/converter/builtin_converters.cpp (revision 71050)
@@ -432,5 +432,8 @@
{
int err = PyUnicode_AsWideChar(
- (PyUnicodeObject *)intermediate
+#if PY_VERSION_HEX < 0x03020000
+ (PyUnicodeObject *)
+#endif
+ intermediate
, &result[0]
, result.size());