Simon Cozens <[EMAIL PROTECTED]> wrote: > begin quote from Joe Yates: > > if (!S_ISREG(file_stat.st_mode)) { > > As far as I can tell, "S_ISREG" is gcc specific. > > My fault, but I'm sure it's POSIX. Oh well, problem, anyway. Anyone got a > more-portable-than-POSIX way of saying this?
Perl5's perl.h seems to have a bunch of stuff to handle this.