mapnik/osx/patches/boost_python1_46_1_for_3.2.diff

15 lines
574 B
Diff
Raw Normal View History

2011-04-18 20:12:27 +02:00
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());