Francois Gouget : port: S_IWUSR and S_IX* are not needed. Remove them.

Alexandre Julliard julliard at winehq.org
Mon Dec 15 08:26:59 CST 2008


Module: wine
Branch: master
Commit: 67d5a4de705bce50f6d0bdd4992270a8749d3808
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=67d5a4de705bce50f6d0bdd4992270a8749d3808

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat Dec 13 12:03:30 2008 +0100

port: S_IWUSR and S_IX* are not needed. Remove them.

---

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

diff --git a/include/wine/port.h b/include/wine/port.h
index df34174..fd37698 100644
--- a/include/wine/port.h
+++ b/include/wine/port.h
@@ -174,10 +174,6 @@ struct statvfs
 # define S_ISREG(mod) (((mod) & _S_IFMT) == _S_IFREG)
 #endif
 
-#ifndef S_IWUSR
-# define S_IWUSR 0
-#endif
-
 /* So we open files in 64 bit access mode on Linux */
 #ifndef O_LARGEFILE
 # define O_LARGEFILE 0
@@ -191,16 +187,6 @@ struct statvfs
 # define O_BINARY 0
 #endif
 
-#if !defined(S_IXUSR) && defined(S_IEXEC)
-# define S_IXUSR S_IEXEC
-#endif
-#if !defined(S_IXGRP) && defined(S_IEXEC)
-# define S_IXGRP S_IEXEC
-#endif
-#if !defined(S_IXOTH) && defined(S_IEXEC)
-# define S_IXOTH S_IEXEC
-#endif
-
 
 /****************************************************************
  * Constants




More information about the wine-cvs mailing list