qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 10/18] dirent has no d_off on Windows.


From: Michael Fritscher
Subject: [Qemu-devel] [PATCH 10/18] dirent has no d_off on Windows.
Date: Fri, 29 Sep 2017 13:13:15 +0200

Signed-off-by: Michael Fritscher <address@hidden>
---
 hw/9pfs/9p-synth.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/hw/9pfs/9p-synth.c b/hw/9pfs/9p-synth.c
index e1bf0438b8..7b8cc3b6e9 100644
--- a/hw/9pfs/9p-synth.c
+++ b/hw/9pfs/9p-synth.c
@@ -222,7 +222,9 @@ static void synth_direntry(V9fsSynthNode *node,
 {
     strcpy(entry->d_name, node->name);
     entry->d_ino = node->attr->inode;
+#ifndef _WIN32
     entry->d_off = off + 1;
+#endif
 }
 
 static struct dirent *synth_get_dentry(V9fsSynthNode *dir,
-- 
2.13.2.windows.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]