dlls/ntdll/directory.c: #if -> #ifdef

Gerald Pfeifer gerald at pfeifer.com
Fri Dec 25 04:08:53 CST 2009


The very last, except for one introduced last week that I'll address
next.

Gerald

ChangeLog:
Use #ifdef instead of #if to check for _DARWIN_FEATURE_64_BIT_INODE.

diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index 5e68837..350dd8a 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -1378,7 +1378,7 @@ done:
 
 #elif defined HAVE_GETDIRENTRIES
 
-#if _DARWIN_FEATURE_64_BIT_INODE
+#ifdef _DARWIN_FEATURE_64_BIT_INODE
 
 /* Darwin doesn't provide a version of getdirentries with support for 64-bit
  * inodes.  When 64-bit inodes are enabled, the getdirentries symbol is mapped
@@ -1563,7 +1563,7 @@ done:
     return res;
 }
 
-#if _DARWIN_FEATURE_64_BIT_INODE
+#ifdef _DARWIN_FEATURE_64_BIT_INODE
 #undef getdirentries
 #undef dirent
 #endif



More information about the wine-patches mailing list