提交 19f21921 编写于 作者: R Richard Levitte

Windows does not know of strigs.h or strcasecmp, so when in Windows,

make strcasecmp a macro to _stricmp.
上级 1961b327
......@@ -59,7 +59,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/types.h>
#include <sys/stat.h>
#define NON_MAIN
......@@ -71,6 +70,12 @@
#include <openssl/pkcs12.h>
#include <openssl/safestack.h>
#ifdef OPENSSL_SYS_WINDOWS
#define strcasecmp _stricmp
#else
#include <strings.h>
#endif
#ifdef OPENSSL_SYS_WINDOWS
# include "bss_file.c"
#endif
......
......@@ -61,7 +61,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
......@@ -79,6 +78,12 @@
#include <openssl/pem.h>
#include <openssl/engine.h>
#ifdef OPENSSL_SYS_WINDOWS
#define strcasecmp _stricmp
#else
#include <strings.h>
#endif
#ifndef W_OK
# ifdef OPENSSL_SYS_VMS
# if defined(__DECC)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册