On Mon, Mar 6, 2023 at 5:32 PM Philippe Mathieu-Daudé <[email protected]> wrote: > > On 20/2/23 11:08, Bin Meng wrote: > > From: Guohuai Shi <[email protected]> > > > > 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 <[email protected]> > > Signed-off-by: Bin Meng <[email protected]> > > --- > > > > 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 :) >
Ouch! Thanks Philippe :) Regards, Bin
