(S_ISLNK): Always false if we don't have __S_IFLNK.
authordrepper <drepper>
Mon, 8 Dec 1997 02:33:47 +0000 (02:33 +0000)
committerdrepper <drepper>
Mon, 8 Dec 1997 02:33:47 +0000 (02:33 +0000)
io/sys/stat.h

index 01bc001..d57b8d6 100644 (file)
@@ -63,6 +63,8 @@ __BEGIN_DECLS
 #ifdef __USE_BSD
 # ifdef __S_IFLNK
 #  define S_ISLNK(mode)         __S_ISTYPE((mode), __S_IFLNK)
+# else
+#  define S_ISLNK(mode)  0
 # endif
 # ifdef __S_IFSOCK
 #  define S_ISSOCK(mode) __S_ISTYPE((mode), __S_IFSOCK)