changeset 24367:f9d5fff966f0

(lstat) [!S_ISLNK]: Use stat instead of lstat.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 21 Feb 1999 16:36:07 +0000
parents 274b79aeb3b7
children d4edd0f4edfa
files src/fileio.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Sat Feb 20 20:50:20 1999 +0000
+++ b/src/fileio.c	Sun Feb 21 16:36:07 1999 +0000
@@ -149,6 +149,10 @@
 #define O_RDONLY 0
 #endif
 
+#ifndef S_ISLNK
+#  define lstat stat
+#endif
+
 #define min(a, b) ((a) < (b) ? (a) : (b))
 #define max(a, b) ((a) > (b) ? (a) : (b))