Fix undefined macro in #if conditional (#85339)
gitea/lasso/pipeline/head There was a failure building this commit
Details
gitea/lasso/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
3768f1bedf
commit
ede9aef12e
|
@ -90,7 +90,7 @@ fi
|
|||
dnl
|
||||
dnl Check for programs
|
||||
dnl
|
||||
CFLAGS="$CFLAGS -Werror=implicit-function-declaration"
|
||||
CFLAGS="$CFLAGS -Werror=undef -Werror=implicit-function-declaration"
|
||||
AC_PROG_CC
|
||||
AM_CFLAGS=""
|
||||
AC_HEADER_STDC
|
||||
|
|
|
@ -128,7 +128,7 @@ get_xmlNode(LassoNode *node, gboolean lasso_dump)
|
|||
lasso_foreach(it, other_session_index) {
|
||||
xmlNode *child = xmlSecAddChild(xmlnode, BAD_CAST SESSION_INDEX,
|
||||
BAD_CAST LASSO_SAML2_PROTOCOL_HREF);
|
||||
#if (XMLSEC_MAJOR > 1) || (XMLSEC_MAJOR == 1 && XMLSEC_MINOR > 2) || (XMLSEC_MAJOR == 1 && XMLSEC_MINOR == 2 && XMLSEC_SUBMINOR > 12)
|
||||
#if (XMLSEC_VERSION_MAJOR > 1) || (XMLSEC_VERSION_MAJOR == 1 && XMLSEC_VERSION_MINOR > 2) || (XMLSEC_VERSION_MAJOR == 1 && XMLSEC_VERSION_MINOR == 2 && XMLSEC_VERSION_SUBMINOR > 12)
|
||||
xmlSecNodeEncodeAndSetContent(child, BAD_CAST it->data);
|
||||
#else
|
||||
xmlChar *content;
|
||||
|
|
Loading…
Reference in New Issue