ntdll/directory.c: getdents64 might have been defined previously

Felix Janda felix.janda at posteo.de
Sat Aug 23 10:02:58 CDT 2014


---
 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 );
-- 
1.8.5.5



More information about the wine-patches mailing list