diff options
author | Tim Rice <tim@multitalents.net> | 2001-03-19 18:31:44 -0800 |
---|---|---|
committer | Tim Rice <tim@multitalents.net> | 2001-03-19 18:31:44 -0800 |
commit | d14d7021a14fd45705bd1f4833e2e63829c04449 (patch) | |
tree | bd2c7b1a329f7b7db52946e673955602b6ae444d /defines.h | |
parent | 82e7ae5bceb636ecd52189f6ec63fd3db108cd85 (diff) |
change S_ISLNK macro to work for UnixWare 2.03
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.60 2001/03/19 03:12:26 mouring Exp $ */ +/* $Id: defines.h,v 1.61 2001/03/20 02:31:45 tim Exp $ */ /* Some platforms need this for the _r() functions */ #if !defined(_REENTRANT) && !defined(SNI) @@ -108,7 +108,7 @@ enum #endif /* S_ISREG */ #ifndef S_ISLNK -# define S_ISLNK(mode) (((mode) & (_S_IFMT)) == (_S_IFLNK)) +# define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK) #endif /* S_ISLNK */ #ifndef S_IXUSR |