avoid a warning by defining getDrive only on Windows
#endif
mb_path -> mb_path
where
#endif
mb_path -> mb_path
where
+#ifdef mingw32_TARGET_OS
getDrive (d:':':_) ds
| not (d `elem` ds) = d:ds
getDrive _ ds = ds
getDrive (d:':':_) ds
| not (d `elem` ds) = d:ds
getDrive _ ds = ds
common i acc [] ps = checkSep i acc ps
common i acc (c:cs) ps
common i acc [] ps = checkSep i acc ps
common i acc (c:cs) ps