Fixed compile under Kubuntu 12.10.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5814 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2012-11-13 11:58:56 +00:00
parent 454daf1981
commit 9581e83c01

View File

@ -1477,7 +1477,7 @@ upnpEventSubscriptionExpired:
int TimeOut = 1801;
int ret = UpnpSubscribe(
upnpCP->m_UPnPClientHandle,
#if DEBIAN && UPNP_VERSION >= 10617 || UPNP_VERSION >= 10800
#if UPNP_VERSION >= 10617
UpnpString_get_String(es_event->PublisherUrl),
#else
es_event->PublisherUrl,
@ -1490,7 +1490,7 @@ upnpEventSubscriptionExpired:
msg, es_event->ErrCode, NULL, NULL);
} else {
ServiceMap::iterator it =
#if DEBIAN && UPNP_VERSION >= 10617 || UPNP_VERSION >= 10800
#if UPNP_VERSION >= 10617
upnpCP->m_ServiceMap.find(UpnpString_get_String(es_event->PublisherUrl));
#else
upnpCP->m_ServiceMap.find(es_event->PublisherUrl);