summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--swig/Lasso.i3
-rw-r--r--swig/inheritance.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/swig/Lasso.i b/swig/Lasso.i
index f5af9a44..e050c1de 100644
--- a/swig/Lasso.i
+++ b/swig/Lasso.i
@@ -706,6 +706,7 @@ SET_NODE_INFO(Node, DowncastableNode)
#define LASSO_WSF_ENABLED 0
#endif
+
/* HttpMethod */
#ifndef SWIGPHP4
%rename(HTTP_METHOD_NONE) LASSO_HTTP_METHOD_NONE;
@@ -6558,7 +6559,7 @@ int LassoNameRegistration_setSessionFromDump(LassoNameRegistration *self, char *
%}
-#if LASSO_WSF_ENABLED
+#ifdef LASSO_WSF_ENABLED
%include Lasso-wsf.i
#endif
diff --git a/swig/inheritance.h b/swig/inheritance.h
index 1c6cca9a..37bcbd5b 100644
--- a/swig/inheritance.h
+++ b/swig/inheritance.h
@@ -78,7 +78,7 @@ SET_NODE_INFO(LibStatusResponse, SamlpResponseAbstract)
SET_NODE_INFO(LibLogoutResponse, LibStatusResponse)
SET_NODE_INFO(LibRegisterNameIdentifierResponse, LibStatusResponse)
-#if LASSO_WSF_ENABLED
+#ifdef LASSO_WSF_ENABLED
/* ID-WSF */