From 93b663b8ccc9f82dd32d492c8a6081a8c75e8419 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 26 Jan 2004 22:45:21 +0000 Subject: [PATCH] Fix incorrect #if in OnSysTell git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/helpers.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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();