mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 11:00:41 +08:00
* include/sys/stat.h (_S_ISLNK): Add definition.
(S_ISLNG): Ditto.
This commit is contained in:
parent
01fdc61987
commit
57ad1153a6
@ -1,3 +1,8 @@
|
|||||||
|
2004-09-08 Earnie Boyd <earnie@users.sf.net>
|
||||||
|
|
||||||
|
* include/sys/stat.h (_S_ISLNK): Add definition.
|
||||||
|
(S_ISLNG): Ditto.
|
||||||
|
|
||||||
2004-09-05 Earnie Boyd <earnie@users.sf.net>
|
2004-09-05 Earnie Boyd <earnie@users.sf.net>
|
||||||
|
|
||||||
* include/_mingw.h: Increment minor version for 3.5 release.
|
* include/_mingw.h: Increment minor version for 3.5 release.
|
||||||
|
@ -48,6 +48,7 @@
|
|||||||
#define _S_ISCHR(m) (((m) & _S_IFMT) == _S_IFCHR)
|
#define _S_ISCHR(m) (((m) & _S_IFMT) == _S_IFCHR)
|
||||||
#define _S_ISBLK(m) (((m) & _S_IFMT) == _S_IFBLK)
|
#define _S_ISBLK(m) (((m) & _S_IFMT) == _S_IFBLK)
|
||||||
#define _S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
#define _S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
||||||
|
#define _S_ISLNK(m) (false)
|
||||||
|
|
||||||
#ifndef _NO_OLDNAMES
|
#ifndef _NO_OLDNAMES
|
||||||
|
|
||||||
@ -70,6 +71,7 @@
|
|||||||
#define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
|
#define S_ISCHR(m) (((m) & S_IFMT) == S_IFCHR)
|
||||||
#define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
|
#define S_ISBLK(m) (((m) & S_IFMT) == S_IFBLK)
|
||||||
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG)
|
||||||
|
#define S_ISLNK(m) (false)
|
||||||
|
|
||||||
#endif /* Not _NO_OLDNAMES */
|
#endif /* Not _NO_OLDNAMES */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user