touched up code a bit

This commit is contained in:
2021-02-09 15:06:41 +00:00
parent 1d0c7a8bbc
commit 816b900231
3 changed files with 12 additions and 21 deletions

View File

@ -293,8 +293,10 @@
* ========================================================================= */
#if defined(_WIN32) || defined(__OS2__) || defined(__DOS__)
# define HCL_IS_PATH_SEP(c) ((c) == '/' || (c) == '\\')
# define HCL_DFL_PATH_SEP ('\\')
#else
# define HCL_IS_PATH_SEP(c) ((c) == '/')
# define HCL_DFL_PATH_SEP ('/')
#endif
/* TODO: handle path with a drive letter or in the UNC notation */