PATCH - add S_IRGRP etc to stat.h

"Daniel Glassey" <danglassey-XZoyATsUNX5Wk0Htik3J/[email protected]>
Newsgroups gmane.comp.gnu.mingw.patches
Message-ID <3D088B35.1125.6F1149@localhost>
This patch is to include/sys/stat.h in mingw-runtime 2.0

It is would be very useful for it being in for building AbiWord with 
mingw (the alternative is to patch the AbiWord source)

Regards,
Daniel

--- stat.h	Thu Jun 13 11:47:25 2002
+++ stat2.h	Thu Jun 13 11:47:10 2002
@@ -60,6 +60,9 @@
 #define	_S_IXUSR	_S_IEXEC
 #define	_S_IWUSR	_S_IWRITE
 #define	_S_IRUSR	_S_IREAD
+#define	_S_IXGRP	_S_IEXEC
+#define	_S_IWGRP	_S_IWRITE
+#define	_S_IRGRP	_S_IREAD
 
 #define	_S_ISDIR(m)	(((m) & _S_IFMT) == _S_IFDIR)
 #define	_S_ISFIFO(m)	(((m) & _S_IFMT) == _S_IFIFO)
@@ -82,6 +85,9 @@
 #define	S_IXUSR		_S_IXUSR
 #define	S_IWUSR		_S_IWUSR
 #define	S_IRUSR		_S_IRUSR
+#define	S_IXGRP		_S_IXGRP
+#define	S_IWGRP		_S_IWGRP
+#define	S_IRGRP		_S_IRGRP
 
 #define	S_ISDIR(m)	(((m) & S_IFMT) == S_IFDIR)
 #define	S_ISFIFO(m)	(((m) & S_IFMT) == S_IFIFO)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.