From: Aleš Křenek Date: Tue, 25 Nov 2008 16:29:17 +0000 (+0000) Subject: support 2.7.6d X-Git-Tag: test_tag~67 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=c14bdcff1b0aa120f64547229bd682384843935e;p=jra1mw.git support 2.7.6d --- diff --git a/org.glite.security.gsoap-plugin/interface/glite_gscompat.h b/org.glite.security.gsoap-plugin/interface/glite_gscompat.h index 5725c93..340bbfb 100644 --- a/org.glite.security.gsoap-plugin/interface/glite_gscompat.h +++ b/org.glite.security.gsoap-plugin/interface/glite_gscompat.h @@ -7,7 +7,7 @@ #error GSOAP_VERSION required #endif -#if GSOAP_VERSION >= 20709 +#if GSOAP_VERSION >= 20709 || GSOAP_VERSION == 20706 && GSOAP_VERSION_LETTER >= 'd' #define GLITE_SECURITY_GSOAP_CHOICE_GET(CHOICE, ITEM, TYPENAME, TYPENO) ((CHOICE)->union_##TYPENAME.ITEM) #define GLITE_SECURITY_GSOAP_CHOICE_SETTYPE(CHOICE, ITEM, NS, TYPENAME, TYPENO) ((CHOICE)->__union_##TYPENAME) = SOAP_UNION__##NS##__union_##TYPENAME##_##ITEM #define GLITE_SECURITY_GSOAP_CHOICE_ISTYPE(CHOICE, ITEM, NS, TYPENAME, TYPENO) (((CHOICE)->__union_##TYPENAME) == SOAP_UNION__##NS##__union_##TYPENAME##_##ITEM)