From: Eric Biggers Date: Thu, 17 Nov 2016 05:32:10 +0000 (-0800) Subject: extract.c: don't use ifdef within macro argument X-Git-Tag: v1.11.0~61 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=4e8898e104c5a681a7530966464c4f7248c8762f extract.c: don't use ifdef within macro argument This was nonstandard and 'sparse' complained about it. --- 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. */