cygwin currently defines wint_t as unsigned int (legal per POSIX), but then tries to use INT_MIN and INT_MAX for WINT_MIN and WINT_MAX. I've reported this as a bug to the cygwin list. In the meantime, is it worth fixing the stdint module to detect this brokenness, and redefine WINT_MIN and MAX to their correct values in this case?
-- Eric Blake