提交 5c5e7e1a 编写于 作者: M Matt Caswell

Fix build failure on Windows due to undefined cflags identifier

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 103b171d
...@@ -77,7 +77,7 @@ const char *SSLeay_version(int t) ...@@ -77,7 +77,7 @@ const char *SSLeay_version(int t)
if (t == SSLEAY_CFLAGS) if (t == SSLEAY_CFLAGS)
{ {
#ifdef CFLAGS #ifdef CFLAGS
return(cflags); return(CFLAGS);
#else #else
return("compiler: information not available"); return("compiler: information not available");
#endif #endif
......
...@@ -7,7 +7,7 @@ $date = localtime(); ...@@ -7,7 +7,7 @@ $date = localtime();
print <<"END_OUTPUT"; print <<"END_OUTPUT";
#ifndef MK1MF_BUILD #ifndef MK1MF_BUILD
/* auto-generated by util/mkbuildinf.pl for crypto/cversion.c */ /* auto-generated by util/mkbuildinf.pl for crypto/cversion.c */
#define CFLAGS #define CFLAGS cflags
/* /*
* Generate CFLAGS as an array of individual characters. This is a * Generate CFLAGS as an array of individual characters. This is a
* workaround for the situation where CFLAGS gets too long for a C90 string * workaround for the situation where CFLAGS gets too long for a C90 string
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册