diff options
Diffstat (limited to 'io/sys/stat.h')
-rw-r--r-- | io/sys/stat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h index 01bc001..d57b8d6 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -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) |