diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-25 08:28:57 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-05-25 08:28:57 +0000 |
commit | 9423c6fcd41d6bc971cab01e8cdfbf515a9aaaea (patch) | |
tree | 16f263e03a5819380adcd3555d14855fbf85e32e /iperlsys.h | |
parent | 7c2ea1c74a297a6e4f5e99f73e5cadca30825f36 (diff) | |
download | perl-9423c6fcd41d6bc971cab01e8cdfbf515a9aaaea.tar.gz |
assorted tweaks
p4raw-id: //depot/perl@3472
Diffstat (limited to 'iperlsys.h')
-rw-r--r-- | iperlsys.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/iperlsys.h b/iperlsys.h index 5f0ed0c92a..1c376ef0cd 100644 --- a/iperlsys.h +++ b/iperlsys.h @@ -597,7 +597,11 @@ public: #define PerlLIO_ioctl(fd, u, buf) ioctl((fd), (u), (buf)) #define PerlLIO_isatty(fd) isatty((fd)) #define PerlLIO_lseek(fd, offset, mode) lseek((fd), (offset), (mode)) +#ifdef HAS_LSTAT #define PerlLIO_lstat(name, buf) lstat((name), (buf)) +#else +#define PerlLIO_lstat(name, buf) PerlLIO_stat((name), (buf)) +#endif #define PerlLIO_mktemp(file) mktemp((file)) #define PerlLIO_mkstemp(file) mkstemp((file)) #define PerlLIO_open(file, flag) open((file), (flag)) |