Skip to content

Commit

Permalink
suppress error warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Aug 13, 2018
1 parent 8f5db76 commit bf960cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tbox/platform/path.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@

// is path separator?
#ifdef TB_CONFIG_OS_WINDOWS
# define tb_path_is_separator(c) ((c) == '/' || (c) == '\\')
# define tb_path_is_separator(c) ('/' == (c) || '\\' == (c))
#else
# define tb_path_is_separator(c) ((c) == '/')
# define tb_path_is_separator(c) ('/' == (c))
#endif

/* //////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit bf960cd

Please sign in to comment.