change S_ISLNK macro to work for UnixWare 2.03

This commit is contained in:
Tim Rice 2001-03-19 18:31:44 -08:00
parent 82e7ae5bce
commit d14d7021a1
2 changed files with 5 additions and 3 deletions

View File

@ -11,6 +11,8 @@
version 2.5.2
- (djm) Update RPM spec version
- (djm) Release 2.5.2p1
- tim@mindrot.org 2001/03/19 18:33:47 [defines.h]
change S_ISLNK macro to work for UnixWare 2.03
20010319
- (djm) Seed PRNG at startup, rather than waiting for arc4random calls to
@ -4641,4 +4643,4 @@
- Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1
$Id: ChangeLog,v 1.991 2001/03/19 22:30:50 djm Exp $
$Id: ChangeLog,v 1.992 2001/03/20 02:31:44 tim Exp $

View File

@ -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