Kaydet (Commit) 357e510e authored tarafından Pedro Giffuni's avatar Pedro Giffuni

Add compatibility of older versions of Python. Reported by Pavel Janik on Mac OS X 10.6.8.

üst 8324ed47
...@@ -43,6 +43,12 @@ ...@@ -43,6 +43,12 @@
#include <cppuhelper/implbase2.hxx> #include <cppuhelper/implbase2.hxx>
#include <cppuhelper/weakref.hxx> #include <cppuhelper/weakref.hxx>
// Compatibility of older versions of Python
#ifndef PyVarObject_HEAD_INIT
#define PyVarObject_HEAD_INIT(type, size) \
PyObject_HEAD_INIT(type) size,
#endif
namespace pyuno namespace pyuno
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment