Browse Source

Fix build failure on Windows due to undefined cflags identifier

Reviewed-by: Tim Hudson <tjh@openssl.org>
master
Matt Caswell 8 years ago
parent
commit
5c5e7e1a7e
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      crypto/cversion.c
  2. +1
    -1
      util/mkbuildinf.pl

+ 1
- 1
crypto/cversion.c View File

@ -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


+ 1
- 1
util/mkbuildinf.pl View File

@ -7,7 +7,7 @@ $date = localtime();
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


Loading…
Cancel
Save