Change 13601 by jhi@alpha on 2001/12/10 18:25:30
Silence BeOS compilation moaning.
Affected files ...
.... //depot/perl/perl.h#418 edit
Differences ...
==== //depot/perl/perl.h#418 (text) ====
Index: perl/perl.h
--- perl/perl.h.~1~ Mon Dec 10 11:30:05 2001
+++ perl/perl.h Mon Dec 10 11:30:05 2001
@@ -931,11 +931,15 @@
# define S_IRWXO (S_IROTH|S_IWOTH|S_IXOTH)
#endif
-#ifndef S_IREAD
+/* BeOS 5.0 seems to define S_IREAD and S_IWRITE in <posix/fcntl.h>
+ * which would get included through <sys/file.h >, but that is 3000
+ * lines in the future. --jhi */
+
+#if !defined(S_IREAD) && !defined(__BEOS__)
# define S_IREAD S_IRUSR
#endif
-#ifndef S_IWRITE
+#if !defined(S_IWRITE) && !defined(__BEOS__)
# define S_IWRITE S_IWUSR
#endif
End of Patch.