• Tom Lane's avatar
    Assume wcstombs(), towlower(), and sibling functions are always present. · 85feb77a
    Tom Lane authored
    These functions are required by SUS v2, which is our minimum baseline
    for Unix platforms, and are present on all interesting Windows versions
    as well.  Even our oldest buildfarm members have them.  Thus, we were not
    testing the "!USE_WIDE_UPPER_LOWER" code paths, which explains why the bug
    fixed in commit e6023ee7 escaped detection.  Per discussion, there seems
    to be no more real-world value in maintaining this option.  Hence, remove
    the configure-time tests for wcstombs() and towlower(), remove the
    USE_WIDE_UPPER_LOWER symbol, and remove all the !USE_WIDE_UPPER_LOWER code.
    There's not actually all that much of the latter, but simplifying the #if
    nests is a win in itself.
    
    Discussion: https://postgr.es/m/20170921052928.GA188913@rfd.leadboat.com
    85feb77a
configure.in 73.9 KB