From: Johannes Sixt Date: Sat, 1 Mar 2008 20:11:14 +0000 (+0100) Subject: setup.c: Prepare for Windows directory separators. X-Git-Tag: v1.6.0-rc0~159^2~33 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/4cd148d83f852363363e921c4925e67601654ff6?hp=4cd148d83f852363363e921c4925e67601654ff6 setup.c: Prepare for Windows directory separators. This turns two switch/case statements into an if-else-if cascade because we later do not want to have case '/': #ifdef __MINGW32__ case '\\': #endif but use a predicate is_dir_sep(foo) in order to check for the directory separator. Signed-off-by: Johannes Sixt ---