fix build with gsoap 2.6.2
authorAleš Křenek <ljocha@ics.muni.cz>
Thu, 2 Jun 2005 14:46:21 +0000 (14:46 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Thu, 2 Jun 2005 14:46:21 +0000 (14:46 +0000)
org.glite.lb.server/examples/ws_jobstat.c
org.glite.lb.server/src/ws_query.c

index 4bb2afd..603d9c7 100644 (file)
@@ -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[] = {
index 1c0bc46..c67343c 100644 (file)
 #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(