• Tom Lane's avatar
    Fix up getopt() reset management so it works on recent mingw. · 5cdd65f3
    Tom Lane authored
    The mingw people don't appear to care about compatibility with non-GNU
    versions of getopt, so force use of our own copy of getopt on Windows.
    Also, ensure that we make use of optreset when using our own copy.
    
    Per report from Andrew Dunstan.  Back-patch to all versions supported
    on Windows.
    5cdd65f3
configure.in 59.9 KB