From 4e8898e104c5a681a7530966464c4f7248c8762f Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Wed, 16 Nov 2016 21:32:10 -0800 Subject: [PATCH] extract.c: don't use ifdef within macro argument This was nonstandard and 'sparse' complained about it. --- src/extract.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/extract.c b/src/extract.c index 9275c352..01bc1a5b 100644 --- a/src/extract.c +++ b/src/extract.c @@ -1754,13 +1754,11 @@ extract_single_image(WIMStruct *wim, int image, } static const tchar * const filename_forbidden_chars = -T( #ifdef __WIN32__ -"<>:\"/\\|?*" +T("<>:\"/\\|?*"); #else -"/" +T("/"); #endif -); /* This function checks if it is okay to use a WIM image's name as a directory * name. */ -- 2.43.0