]> wimlib.net Git - wimlib/blobdiff - src/extract.c
extract.c: don't use ifdef within macro argument
[wimlib] / src / extract.c
index 9275c352b427dac58600ff0474e9c577d3b6ae14..01bc1a5bebca03ff52769104f8f0bd76c193372d 100644 (file)
@@ -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.  */