Commit 8f6df9b5 authored by Eli Zaretskii's avatar Eli Zaretskii

(lstat) [!S_ISLNK]: Use stat instead of lstat.

parent b78e8d0a
......@@ -149,6 +149,10 @@ extern char *strerror ();
#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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment