]> granicus.if.org Git - python/commit
Recent ANSIfication introduced a couple instances of
authorTim Peters <tim.peters@gmail.com>
Sun, 23 Jul 2000 18:10:18 +0000 (18:10 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 23 Jul 2000 18:10:18 +0000 (18:10 +0000)
commit1be46844d9c858a21021e2c3ad0ef9bbee64d9e0
treeccddb1369834ad559d8c61954a8354548fdc2c57
parent2f2370bfc99e95a4f5edaf4d29cd47afd54fb1b7
Recent ANSIfication introduced a couple instances of
    #if RETSIGTYPE != void
That isn't C, and MSVC properly refuses to compile it.
Introduced new Py_RETURN_FROM_SIGNAL_HANDLER macro in pyport.h
to expand to the correct thing based on RETSIGTYPE.  However,
only void is ANSI!  Do we still have platforms that return int?
The Unix config mess appears to #define RETSIGTYPE by magic
without being asked to, so I assume it's "a problem" across
Unices still.
Include/pyport.h
Modules/signalmodule.c
Parser/intrcheck.c