From: Aleš Křenek Date: Thu, 2 Jun 2005 14:46:21 +0000 (+0000) Subject: fix build with gsoap 2.6.2 X-Git-Tag: gridsite-core_R_1_1_9~22 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=9a0445719130b89784a6bfe9a69ef6e190eda906;p=jra1mw.git fix build with gsoap 2.6.2 --- diff --git a/org.glite.lb.server/examples/ws_jobstat.c b/org.glite.lb.server/examples/ws_jobstat.c index 4bb2afd..603d9c7 100644 --- a/org.glite.lb.server/examples/ws_jobstat.c +++ b/org.glite.lb.server/examples/ws_jobstat.c @@ -7,6 +7,12 @@ #include "bk_ws_H.h" #include "ws_typeref.h" +#include "soap_version.h" + +#if GSOAP_VERSION <= 20602 +#define soap_call___lb__JobStatus soap_call___ns1__JobStatus +#endif + #include "LoggingAndBookkeeping.nsmap" static struct option opts[] = { diff --git a/org.glite.lb.server/src/ws_query.c b/org.glite.lb.server/src/ws_query.c index 1c0bc46..c67343c 100644 --- a/org.glite.lb.server/src/ws_query.c +++ b/org.glite.lb.server/src/ws_query.c @@ -12,6 +12,14 @@ #include "ws_fault.h" #include "ws_typeref.h" +#if GSOAP_VERSION <= 20602 +#define __lb__GetVersion __ns1__GetVersion +#define __lb__JobStatus __ns1__JobStatus +#define __lb__UserJobs __ns1__UserJobs +#define __lb__QueryJobs __ns1__QueryJobs +#define __lb__QueryEvents __ns1__QueryEvents +#endif + #if 0 int edgwll2__GetVersion(