aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/mingw/ChangeLog4
-rw-r--r--winsup/mingw/include/sys/stat.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 5e2a6b6..5ca5c55 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -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.
diff --git a/winsup/mingw/include/sys/stat.h b/winsup/mingw/include/sys/stat.h
index 4793fdc..0908b49 100644
--- a/winsup/mingw/include/sys/stat.h
+++ b/winsup/mingw/include/sys/stat.h
@@ -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 */