No need for code conditional on S_IFMT being defined, as perl.h has a fallback.
authorNicholas Clark <nick@ccl4.org>
Sat, 1 Mar 2014 16:58:05 +0000 (17:58 +0100)
committerNicholas Clark <nick@ccl4.org>
Sat, 1 Mar 2014 16:58:05 +0000 (17:58 +0100)
commit147f7004ad992729d7466a9b2229332c1b97ca3a
tree8f4f968c60f1e3a6ea04b1fbe1bf01f9dbc6bba8
parent25983af42cdcf2dc1fea6717dac7aac441b6301d
No need for code conditional on S_IFMT being defined, as perl.h has a fallback.

Commit c623bd54707a8bf9 (Jan 1991) added code conditionally compiled if
S_IFMT was defined. However, the checks were immediately redundant, because
the same commit also added code to perl.h to define a fallback value for
S_IFMT if the OS headers did not define it, which is unchanged to this day.
Hence the code added in an #else as part of commit 99b89507a1fb507c (Nov
1991) has never ever been needed.
doio.c