aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2004-09-08 18:24:13 +0000
committerEarnie Boyd <earnie@users.sf.net>2004-09-08 18:24:13 +0000
commit57ad1153a6308ac6ec78f17cc44e52b3ee80d55a (patch)
tree73c7e451075285b51680ca610726c5f9892f5782 /winsup/mingw
parent01fdc61987df60177ead16bb510afe18e5cf2d3b (diff)
downloadnewlib-57ad1153a6308ac6ec78f17cc44e52b3ee80d55a.zip
newlib-57ad1153a6308ac6ec78f17cc44e52b3ee80d55a.tar.gz
newlib-57ad1153a6308ac6ec78f17cc44e52b3ee80d55a.tar.bz2
* include/sys/stat.h (_S_ISLNK): Add definition.
(S_ISLNG): Ditto.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog5
-rw-r--r--winsup/mingw/include/sys/stat.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index d012672..b21d28a 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -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>
* include/_mingw.h: Increment minor version for 3.5 release.
diff --git a/winsup/mingw/include/sys/stat.h b/winsup/mingw/include/sys/stat.h
index aa575c8..07efbb9 100644
--- a/winsup/mingw/include/sys/stat.h
+++ b/winsup/mingw/include/sys/stat.h
@@ -48,6 +48,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) (false)
#ifndef _NO_OLDNAMES
@@ -70,6 +71,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) (false)
#endif /* Not _NO_OLDNAMES */