Fix incorrect #if in OnSysTell
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
ae5343ecfd
commit
93b663b8cc
@ -1288,9 +1288,8 @@ off_t wxPyCBInputStream::OnSysTell() const {
|
||||
if (PyLong_Check(result))
|
||||
o = PyLong_AsLongLong(result);
|
||||
else
|
||||
#else
|
||||
o = PyInt_AsLong(result);
|
||||
#endif
|
||||
o = PyInt_AsLong(result);
|
||||
Py_DECREF(result);
|
||||
};
|
||||
wxPyEndBlockThreads();
|
||||
|
Loading…
Reference in New Issue
Block a user