Fix S_ISLNK definition in os_defs.h.

This commit is contained in:
Seth Jackson 2016-01-03 13:51:58 -05:00
parent 59eaba2894
commit 3ce8de7c8f

View File

@ -58,7 +58,7 @@
# define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) # define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
#endif #endif
#if !defined(S_ISLNK) && defined(S_IFLNK) #if !defined(S_ISLNK) && defined(S_IFLNK)
# define S_IFLNK(m) (((m) & S_IFMT) == S_IFLNK) # define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK)
#endif #endif
#if !defined(S_ISBLK) && defined(S_IFBLK) #if !defined(S_ISBLK) && defined(S_IFBLK)
# define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK) # define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)