Check for the presence of _WIN32 rather than its value.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2727)
diff --git a/apps/rehash.c b/apps/rehash.c
index 23dbfd8..2ffe5c5 100644
--- a/apps/rehash.c
+++ b/apps/rehash.c
@@ -287,10 +287,10 @@
 {
     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