libwine: Fix some typos

Andrew Talbot Andrew.Talbot at talbotville.com
Wed Dec 20 10:55:57 CST 2006


I believe these identifiers are POSIX ones (from <sys/stat.h>), so they should
not possess one leading underscore (unlike the similar ones in "msvcrt").

-- Andy.
---
Changelog:
    libwine: Fix some typos.

diff -urN a/include/wine/port.h b/include/wine/port.h
--- a/include/wine/port.h	2006-05-23 13:49:12.000000000 +0100
+++ b/include/wine/port.h	2006-12-20 16:20:42.000000000 +0000
@@ -131,19 +131,19 @@
 #endif
 
 #ifndef S_ISDIR
-# define S_ISDIR(mod) (((mod) & _S_IFMT) == _S_IFDIR)
+# define S_ISDIR(mod) (((mod) & S_IFMT) == S_IFDIR)
 #endif
 
 #ifndef S_ISCHR
-# define S_ISCHR(mod) (((mod) & _S_IFMT) == _S_IFCHR)
+# define S_ISCHR(mod) (((mod) & S_IFMT) == S_IFCHR)
 #endif
 
 #ifndef S_ISFIFO
-# define S_ISFIFO(mod) (((mod) & _S_IFMT) == _S_IFIFO)
+# define S_ISFIFO(mod) (((mod) & S_IFMT) == S_IFIFO)
 #endif
 
 #ifndef S_ISREG
-# define S_ISREG(mod) (((mod) & _S_IFMT) == _S_IFREG)
+# define S_ISREG(mod) (((mod) & S_IFMT) == S_IFREG)
 #endif
 
 #ifndef S_IWUSR



More information about the wine-patches mailing list