Commit 9a929c8f authored by Wayne Davison's avatar Wayne Davison

- Don't define HAVE_READLINK unless HAVE_READLINK is defined.

- Don't define SUPPORT_HARD_LINKS unless HAVE_LINK is defined.
parent 298d8c0a
......@@ -675,8 +675,12 @@ extern char *sys_errlist[];
extern int errno;
#endif
#define SUPPORT_LINKS HAVE_READLINK
#define SUPPORT_HARD_LINKS HAVE_LINK
#ifdef HAVE_READLINK
#define SUPPORT_LINKS 1
#endif
#ifdef HAVE_LINK
#define SUPPORT_HARD_LINKS 1
#endif
#define SIGNAL_CAST (RETSIGTYPE (*)())
......
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