From: Robin Dunn Date: Mon, 26 Jan 2004 22:45:21 +0000 (+0000) Subject: Fix incorrect #if in OnSysTell X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/93b663b8ccc9f82dd32d492c8a6081a8c75e8419 Fix incorrect #if in OnSysTell git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/src/helpers.cpp b/wxPython/src/helpers.cpp index f2d08f0fcb..18081078e9 100644 --- a/wxPython/src/helpers.cpp +++ b/wxPython/src/helpers.cpp @@ -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();