Commit fe9a25bb authored by Ralf Schmitt's avatar Ralf Schmitt

fix compilation with cython 0.15

cython 0.15 dead code detection did remove the call to ENDIF()
resulting in broken C code.
parent 37eba3b1
......@@ -352,9 +352,11 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
property activecnt:
def __get__(self):
res = None
IFDEF_EV_STANDALONE()
return self._ptr.activecnt
res = self._ptr.activecnt
ENDIF()
return res
def io(self, int fd, int events):
return io(self, fd, events)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment