makedepend complains when a header file is included more than once in
[openssl.git] / apps / apps.c
index 1a24b1c596308be59ca5dabf13d4da3d57f2804c..5863b33850ea9048351e93d2925e97f1d514823c 100644 (file)
@@ -354,6 +354,22 @@ int WIN32_rename(char *from, char *to)
        }
 #endif
 
+#ifdef OPENSSL_SYS_VMS
+int VMS_strcasecmp(const char *str1, const char *str2)
+       {
+       while (*str1 && *str2)
+               {
+               int res = toupper(*str1) - toupper(*str2);
+               if (res) return res < 0 ? -1 : 1;
+               }
+       if (*str1)
+               return 1;
+       if (*str2)
+               return -1;
+       return 0;
+       }
+#endif
+
 int chopup_args(ARGS *arg, char *buf, int *argc, char **argv[])
        {
        int num,len,i;