From 02ffa6afb2629f23366a60d72dc9f40418fe7769 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Mon, 13 Feb 2017 22:03:39 -0800 Subject: [PATCH] tst: passthrough-fuse: ptfs_init --- tst/passthrough-fuse/passthrough-fuse.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tst/passthrough-fuse/passthrough-fuse.c b/tst/passthrough-fuse/passthrough-fuse.c index 1ca04726..5669e938 100644 --- a/tst/passthrough-fuse/passthrough-fuse.c +++ b/tst/passthrough-fuse/passthrough-fuse.c @@ -207,12 +207,14 @@ static int ptfs_releasedir(const char *path, struct fuse_file_info *fi) static void *ptfs_init(struct fuse_conn_info *conn) { -#if 0 && defined(FSP_FUSE_CAP_READDIR_PLUS) +#if defined(_WIN64) || defined(_WIN32) +#if defined(FSP_FUSE_CAP_READDIR_PLUS) conn->want |= (conn->capable & FSP_FUSE_CAP_READDIR_PLUS); #endif -#if 0 && defined(FSP_FUSE_CAP_CASE_INSENSITIVE) +#if defined(FSP_FUSE_CAP_CASE_INSENSITIVE) conn->want |= (conn->capable & FSP_FUSE_CAP_CASE_INSENSITIVE); +#endif #endif return fuse_get_context()->private_data;