+2006-12-23 Bruno Haible <bruno@clisp.org>
+
+ * lib/canonicalize-lgpl.c (__realpath): Test HAVE_READLINK instead of
+ S_ISLNK.
+ Needed because gnulib's sys/stat.h replacement defines S_ISLNK on
+ mingw.
+
2006-12-22 Bruno Haible <bruno@clisp.org>
* lib/copy-file.c: Include acl.h.
char *rpath, *dest, *extra_buf = NULL;
const char *start, *end, *rpath_limit;
long int path_max;
-#ifdef S_ISLNK
+#if HAVE_READLINK
int num_links = 0;
#endif
#endif
goto error;
-#ifdef S_ISLNK
+#if HAVE_READLINK
if (S_ISLNK (st.st_mode))
{
char *buf;