Gerald Pfeifer : ntdll: Use #ifdef instead of #if to check for _DARWIN_FEATURE_64_BIT_INODE.

Alexandre Julliard julliard at winehq.org
Mon Dec 28 09:16:08 CST 2009


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

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri Dec 25 11:08:53 2009 +0100

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

---

 dlls/ntdll/directory.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

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-cvs mailing list