From 203897ca00c22c005e83dfebaa57bcc4e4e3552f Mon Sep 17 00:00:00 2001 From: Sooyoung Ha Date: Mon, 29 Jun 2015 14:49:13 +0900 Subject: [PATCH] virtfs: modify the AT_REMOVEDIR preprocessor macro The latest macos has this macro. So I fix this preprocessor macro for prevent the build failure. Change-Id: I9f3c84c12dc667c856f55c8d7993ac7c1e829548 Signed-off-by: Sooyoung Ha --- hw/9pfs/virtio-9p-local-maru.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/9pfs/virtio-9p-local-maru.c b/hw/9pfs/virtio-9p-local-maru.c index ce5b7fd0ef..f452c87e55 100644 --- a/hw/9pfs/virtio-9p-local-maru.c +++ b/hw/9pfs/virtio-9p-local-maru.c @@ -78,7 +78,7 @@ uint64_t hostBytesPerSector = -1; #define VIRTFS_META_DIR ".virtfs_metadata" -#ifndef CONFIG_LINUX +#ifndef AT_REMOVEDIR #define AT_REMOVEDIR 0x200 #endif -- 2.34.1