Skip to content

Commit

Permalink
Check for the presence of _WIN32 rather than its value.
Browse files Browse the repository at this point in the history
Reviewed-by: Andy Polyakov <[email protected]>
(Merged from openssl#2727)
  • Loading branch information
levitte committed Feb 23, 2017
1 parent 2ac915f commit 46958a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/rehash.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,10 @@ static int ends_with_dirsep(const char *path)
{
if (*path != '\0')
path += strlen(path) - 1;
# ifdef __VMS
# if defined __VMS
if (*path == ']' || *path == '>' || *path == ':')
return 1;
# elif _WIN32
# elif defined _WIN32
if (*path == '\\')
return 1;
# endif
Expand Down

0 comments on commit 46958a0

Please sign in to comment.