Felix Janda : ntdll: getdents64 might have been defined previously.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Sep 5 11:10:37 CDT 2014


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

Author: Felix Janda <felix.janda at posteo.de>
Date:   Sat Aug 23 17:02:58 2014 +0200

ntdll: getdents64 might have been defined previously.

---

 dlls/ntdll/directory.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/ntdll/directory.c b/dlls/ntdll/directory.c
index a2796b2..01998b2 100644
--- a/dlls/ntdll/directory.c
+++ b/dlls/ntdll/directory.c
@@ -119,6 +119,7 @@ typedef struct
     char           d_name[256];
 } KERNEL_DIRENT64;
 
+#undef getdents64
 static inline int getdents64( int fd, char *de, unsigned int size )
 {
     return syscall( __NR_getdents64, fd, de, size );




More information about the wine-cvs mailing list