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:
Robin Dunn 2004-01-26 22:45:21 +00:00
parent ae5343ecfd
commit 93b663b8cc

View File

@ -1288,9 +1288,8 @@ off_t wxPyCBInputStream::OnSysTell() const {
if (PyLong_Check(result)) if (PyLong_Check(result))
o = PyLong_AsLongLong(result); o = PyLong_AsLongLong(result);
else else
#else
o = PyInt_AsLong(result);
#endif #endif
o = PyInt_AsLong(result);
Py_DECREF(result); Py_DECREF(result);
}; };
wxPyEndBlockThreads(); wxPyEndBlockThreads();