提交 46958a04 编写于 作者: R Richard Levitte

Check for the presence of _WIN32 rather than its value.

Reviewed-by: NAndy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2727)
上级 2ac915f1
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册