projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d02309
)
Check for the presence of _WIN32 rather than its value.
author
Richard Levitte
<levitte@openssl.org>
Thu, 23 Feb 2017 13:41:20 +0000
(14:41 +0100)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 23 Feb 2017 14:18:29 +0000
(15:18 +0100)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2727)
(cherry picked from commit
46958a043d51633ed36bcfb13ff048a3381366a6
)
apps/rehash.c
patch
|
blob
|
history
diff --git
a/apps/rehash.c
b/apps/rehash.c
index 7d379b8c8f1de28f218132ddf292da52e0acacac..f0eb07883d164d63fa3ba7e8b4b2b4fb56188115 100644
(file)
--- a/
apps/rehash.c
+++ b/
apps/rehash.c
@@
-287,10
+287,10
@@
static int ends_with_dirsep(const char *path)
{
if (*path != '\0')
path += strlen(path) - 1;
-# if
def
__VMS
+# if
defined
__VMS
if (*path == ']' || *path == '>' || *path == ':')
return 1;
-# elif _WIN32
+# elif
defined
_WIN32
if (*path == '\\')
return 1;
# endif