Commit e25dc72e authored by true-pasky's avatar true-pasky Committed by Stefan Behnel

Fix incompatibility with C89

It fixes error 
```
src\lxml\etree.c(241210) : error C2275: 'PyObject' : illegal use of this type as an expression
```
when installing lxml 4.3.0 to pypy2 v6.0.0 on Windows.
parent e80187b9
...@@ -915,8 +915,8 @@ static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, char* chars, ...@@ -915,8 +915,8 @@ static PyObject* __Pyx_PyUnicode_BuildFromAscii(Py_ssize_t ulength, char* chars,
#else #else
// non-CPython // non-CPython
{ {
uval = NULL;
PyObject *sign = NULL, *padding = NULL; PyObject *sign = NULL, *padding = NULL;
uval = NULL;
if (uoffset > 0) { if (uoffset > 0) {
prepend_sign = !!prepend_sign; prepend_sign = !!prepend_sign;
if (uoffset > prepend_sign) { if (uoffset > prepend_sign) {
......
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