Skip to content

Commit

Permalink
Fix build failure on Windows due to undefined cflags identifier
Browse files Browse the repository at this point in the history
Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 5c5e7e1)
  • Loading branch information
mattcaswell committed Jan 8, 2015
1 parent 8437225 commit 56cd740
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crypto/cversion.c
Expand Up @@ -77,7 +77,7 @@ const char *SSLeay_version(int t)
if (t == SSLEAY_CFLAGS)
{
#ifdef CFLAGS
return(cflags);
return(CFLAGS);
#else
return("compiler: information not available");
#endif
Expand Down
2 changes: 1 addition & 1 deletion util/mkbuildinf.pl
Expand Up @@ -7,7 +7,7 @@
print <<"END_OUTPUT";
#ifndef MK1MF_BUILD
/* 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
* workaround for the situation where CFLAGS gets too long for a C90 string
Expand Down

0 comments on commit 56cd740

Please sign in to comment.