On 20/2/23 11:08, Bin Meng wrote:
From: Guohuai Shi <guohuai....@windriver.com>
xxxdir() APIs are not safe on Windows host. For future extension to
Windows, let's replace the direct call to xxxdir() APIs with a wrapper.
Signed-off-by: Guohuai Shi <guohuai....@windriver.com>
Signed-off-by: Bin Meng <bin.m...@windriver.com>
---
hw/9pfs/9p-util.h | 14 ++++++++++++++
hw/9pfs/9p-local.c | 12 ++++++------
2 files changed, 20 insertions(+), 6 deletions(-)
+#define qemu_opendir opendir_win32
+#define qemu_closedir closedir_win32
+#define qemu_readdir readdir_win32
+#define qeme_rewinddir rewinddir_win32
Typo :)