virtfs: modify the AT_REMOVEDIR preprocessor macro
authorSooyoung Ha <yoosah.ha@samsung.com>
Mon, 29 Jun 2015 05:49:13 +0000 (14:49 +0900)
committerMunkyu Im <munkyu.im@samsung.com>
Tue, 5 Jul 2016 06:41:13 +0000 (15:41 +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 21406a0990b5bc3b59e7a5536b441a33729f6afd..3ca1b2d5624029426ddc74cd9d7bce42de6a2f72 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