From: Richard Levitte Date: Thu, 22 Feb 2001 14:21:06 +0000 (+0000) Subject: Windows does not know of strigs.h or strcasecmp, so when in Windows, X-Git-Tag: OpenSSL_0_9_6a-beta1~23^2~23 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=19f2192136f90752bb3fbec986733f609eb13074;p=oweals%2Fopenssl.git Windows does not know of strigs.h or strcasecmp, so when in Windows, make strcasecmp a macro to _stricmp. --- diff --git a/apps/apps.c b/apps/apps.c index 4cb2a72f45..c2633b21e2 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -59,7 +59,6 @@ #include #include #include -#include #include #include #define NON_MAIN @@ -71,6 +70,12 @@ #include #include +#ifdef OPENSSL_SYS_WINDOWS +#define strcasecmp _stricmp +#else +#include +#endif + #ifdef OPENSSL_SYS_WINDOWS # include "bss_file.c" #endif diff --git a/apps/ca.c b/apps/ca.c index 5d5041fb9e..d13b08f7e3 100644 --- a/apps/ca.c +++ b/apps/ca.c @@ -61,7 +61,6 @@ #include #include #include -#include #include #include #include @@ -79,6 +78,12 @@ #include #include +#ifdef OPENSSL_SYS_WINDOWS +#define strcasecmp _stricmp +#else +#include +#endif + #ifndef W_OK # ifdef OPENSSL_SYS_VMS # if defined(__DECC)