* include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
This commit is contained in:
parent
96536b50a6
commit
2457f34144
|
@ -1,3 +1,7 @@
|
|||
2004-10-14 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* include/sys/stat.h: Make S_ISLNK comment comply with ISO C90.
|
||||
|
||||
2004-10-07 Danny Smith <dannysmith@users.sourceforge.net>
|
||||
|
||||
* mingwex/math/fastmath.h: New file.
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
#define _S_ISCHR(m) (((m) & _S_IFMT) == _S_IFCHR)
|
||||
#define _S_ISBLK(m) (((m) & _S_IFMT) == _S_IFBLK)
|
||||
#define _S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
||||
#define _S_ISLNK(m) (((m) & _S_IFMT) == _S_IFLNK) // Should always be zero.
|
||||
#define _S_ISLNK(m) (((m) & _S_IFMT) == _S_IFLNK) /* Should always be zero.*/
|
||||
|
||||
#ifndef _NO_OLDNAMES
|
||||
|
||||
|
@ -73,7 +73,7 @@
|
|||
#define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
|
||||
#define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
|
||||
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
||||
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) // Should always be zero.
|
||||
#define S_ISLNK(m) (((m) & S_IFMT) == S_IFLNK) /* Should always be zero.*/
|
||||
|
||||
#endif /* Not _NO_OLDNAMES */
|
||||
|
||||
|
|
Loading…
Reference in New Issue