Rework detection of directory separator

Use _WIN32 and __CYGWIN__ macros to detect Windows directory separators.
1 file changed