summaryrefslogtreecommitdiffstats
path: root/swig
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2005-01-29 13:02:14 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2005-01-29 13:02:14 +0000
commit1c67e6be332bea587c4f2996cc2d8ec71e88e645 (patch)
treebbe3b22a678712c0343fdd19a6ea7a103ac238df /swig
parentff7ac55ac11dc952ef1f35e9602356f03585ca37 (diff)
downloadlasso-1c67e6be332bea587c4f2996cc2d8ec71e88e645.tar.gz
lasso-1c67e6be332bea587c4f2996cc2d8ec71e88e645.tar.xz
lasso-1c67e6be332bea587c4f2996cc2d8ec71e88e645.zip
Replaced #if LASSO_WSF_ENABLED by ifdef LASSO_WSF_ENABLED to enable wsf in bindings.
Diffstat (limited to 'swig')
-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 */