[PATCH 1/5] wine/port.h: Add some definitions missing on some platforms

Dmitry Timoshkov dmitry at codeweavers.com
Mon Jul 30 09:02:08 CDT 2007


>From b1074e80adf9247cb5febd1e00b9e10aec0d956e Mon Sep 17 00:00:00 2001
From: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Mon, 30 Jul 2007 20:43:55 +0900
Subject: [PATCH 1/5] wine/port.h: Add some definitions missing on some platforms

---
 include/wine/port.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/include/wine/port.h b/include/wine/port.h
index b8009cc..441e84f 100644
--- a/include/wine/port.h
+++ b/include/wine/port.h
@@ -162,6 +162,18 @@ struct statvfs
 # define S_IWUSR 0
 #endif
 
+#ifndef S_IRWXU
+# define S_IRWXU 0
+#endif
+
+#ifndef S_IRGRP
+# define S_IRGRP 0
+#endif
+
+#ifndef S_IROTH
+# define S_IROTH 0
+#endif
+
 /* So we open files in 64 bit access mode on Linux */
 #ifndef O_LARGEFILE
 # define O_LARGEFILE 0
-- 
1.5.2.3






More information about the wine-patches mailing list