]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix incorrect #if in OnSysTell
authorRobin Dunn <robin@alldunn.com>
Mon, 26 Jan 2004 22:45:21 +0000 (22:45 +0000)
committerRobin Dunn <robin@alldunn.com>
Mon, 26 Jan 2004 22:45:21 +0000 (22:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/src/helpers.cpp

index f2d08f0fcba6747dcf237fa60105cece28414c9e..18081078e99b9e7c7cfdb8317fd45876bcf0eb6f 100644 (file)
@@ -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();