vitrio-9p: enable the virtio-9p on windows. 58/21358/1
authorSooyoung Ha <yoosah.ha@samsung.com>
Mon, 19 May 2014 08:49:32 +0000 (17:49 +0900)
committerSooyoung Ha <yoosah.ha@samsung.com>
Mon, 19 May 2014 08:49:32 +0000 (17:49 +0900)
commit33adfac0b0549ca7e373d6206d03d65fbe078fcf
treeb96e2228af01912797523158c62f7735c26ea089
parent84c0868576b5848338cce3e01dcbc01857a7bcbd
vitrio-9p: enable the virtio-9p on windows.

Fix the virtfs-9p build failure on some windows environment and enable it.
The old-version MinGW's 'struct dirent' doesn't support 'd_type' member. This d_type has the information of the file type, but it's not mandatory. The other api can get the file type information. So d_type is to be always zero on windows.(zero means unknown type)

Change-Id: I1c657134bbc6188a7d6a9cfc2534664efe3ceea4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
hw/9pfs/virtio-9p-maru.c
package/build.windows-32