• Tim Peters's avatar
    Recent ANSIfication introduced a couple instances of · 1be46844
    Tim Peters yazdı
        #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.
    1be46844
signalmodule.c 15.2 KB