summaryrefslogtreecommitdiffstats
path: root/defines.h
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2001-03-19 18:31:44 -0800
committerTim Rice <tim@multitalents.net>2001-03-19 18:31:44 -0800
commitd14d7021a14fd45705bd1f4833e2e63829c04449 (patch)
treebd2c7b1a329f7b7db52946e673955602b6ae444d /defines.h
parent82e7ae5bceb636ecd52189f6ec63fd3db108cd85 (diff)
change S_ISLNK macro to work for UnixWare 2.03
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/defines.h b/defines.h
index 29c46a62..7f888935 100644
--- a/defines.h
+++ b/defines.h
@@ -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