From: Aleš Křenek Date: Mon, 15 Mar 2010 12:50:46 +0000 (+0000) Subject: support X-Git-Tag: merge_20_2_dst~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=0af51536ae03a342f603b856802840d3a1a21ab2;p=jra1mw.git support --- diff --git a/org.glite.security.gsoap-plugin/interface/glite_gscompat.h b/org.glite.security.gsoap-plugin/interface/glite_gscompat.h index 3eadfb0..50a2b93 100644 --- a/org.glite.security.gsoap-plugin/interface/glite_gscompat.h +++ b/org.glite.security.gsoap-plugin/interface/glite_gscompat.h @@ -100,4 +100,12 @@ limitations under the License. #define GLITE_SECURITY_GSOAP_LIST_CREATE(SOAP, CONTAINER, LIST, TYPE, N) GLITE_SECURITY_GSOAP_LIST_CREATE0(SOAP, (CONTAINER)->LIST, (CONTAINER)->__size##LIST, TYPE, N) #define GLITE_SECURITY_GSOAP_LIST_DESTROY(SOAP, CONTAINER, LIST) GLITE_SECURITY_GSOAP_LIST_DESTROY0(SOAP, (CONTAINER)->LIST, (CONTAINER)->__size##LIST) +#if GSOAP_VERSION >= 20710 + #define GLITE_SECURITY_GSOAP_SET_FIXED(soap,attr,value) \ + (attr) = soap_strdup((soap),(value)) +#else +/* XXX unsupported */ + #define GLITE_SECURITY_GSOAP_SET_FIXED(soap,attr,value) +#endif + #endif