virtfs: modify the AT_REMOVEDIR preprocessor macro
authorSooyoung Ha <yoosah.ha@samsung.com>
Mon, 29 Jun 2015 05:49:13 +0000 (14:49 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Wed, 1 Jul 2015 05:37:39 +0000 (14:37 +0900)
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 <yoosah.ha@samsung.com>
hw/9pfs/virtio-9p-local-maru.c

index ce5b7fd..f452c87 100644 (file)
@@ -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