/* Some systems don't have ENOSYS.  */
#ifndef ENOSYS
# ifdef ENOTSUP
#  define ENOSYS ENOTSUP
# else
/* Some systems don't have ENOTSUP either.  */
#  define ENOSYS EINVAL
# endif
#endif

#ifdef  __DJGPP__
/* Versions of DJGPP > 2.03 support symlinks (currently only DJGPP CVS). If
 * symlinks are not supported, just fail this test every time;
 * i.e. no file is a link. */
#ifndef S_ISLNK
#define S_ISLNK(x)  (0)
#endif
#endif
