• Peter Eisentraut's avatar
    Fix build of Perl-using modules of Windows · 50242318
    Peter Eisentraut authored
    Commit f14413b6 broke the build of
    Perl-using modules on Windows.
    
    Perl might have its own definitions of uid_t and gid_t, so we hide
    ours, but then we can't use ours in our header files such as port.h
    which don't see the Perl definition.
    
    Hide our definition of getpeereid() on Windows in Perl-using modules,
    using PLPERL_HAVE_UID_GID define.  That means we can't portably use
    getpeeruid() is such modules right now, but there is no need anyway.
    50242318
port.h 15.8 KB