diff options
Diffstat (limited to 'src/pycrypto_compat.h')
-rw-r--r-- | src/pycrypto_compat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pycrypto_compat.h b/src/pycrypto_compat.h index 804e54a..a5a713b 100644 --- a/src/pycrypto_compat.h +++ b/src/pycrypto_compat.h @@ -48,6 +48,7 @@ # define PyLong_MASK MASK # define PyLong_SHIFT SHIFT # define PyUnicode_FromString PyString_FromString +# define PyVarObject_HEAD_INIT(a,b) PyObject_HEAD_INIT(a) 0, # endif # if PY_MINOR_VERSION <= 1 /* Python 2.1 only */ # define METH_O METH_OLDARGS /* METH_O is a subset of what METH_OLDARGS provides */ |