> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:sofia-sip- > [EMAIL PROTECTED] On Behalf Of Roman Filonenko > Sent: Tuesday, February 06, 2007 6:50 AM > To: Pekka Pessi; sofia-sip-devel@lists.sourceforge.net > Subject: [Sofia-sip-devel] Enable IP helper API for VC2005 build > > Pekka, > > The IP Helper API is disabled by default now (iphlpapi.h is missing in > VC6). > The below patch enables the API for VC2005 build. > > { > hunk ./win32/config.h.in 155 > -#undef HAVE_IPHLPAPI_H > +#define HAVE_IPHLPAPI_H 1
If you wrap this in #if _MSC_VER > 1200 this should work depending on the version. There may be a better way to check this, but I know it will be present on the later versions, the rest of the patch looks good to me. Mike > hunk ./win32/libsofia-sip-ua/libsofia_sip_ua.vcproj 79 > - AdditionalDependencies="ws2_32.lib > advapi32.lib" > + AdditionalDependencies="ws2_32.lib > advapi32.lib iphlpapi.lib" > hunk ./win32/libsofia-sip-ua/libsofia_sip_ua.vcproj 179 > - AdditionalDependencies="ws2_32.lib" > + AdditionalDependencies="ws2_32.lib > iphlpapi.lib" > hunk ./win32/libsofia-sip-ua-static/libsofia_sip_ua_static.vcproj 73 > + AdditionalDependencies="iphlpapi.lib" > hunk ./win32/libsofia-sip-ua-static/libsofia_sip_ua_static.vcproj 151 > + AdditionalDependencies="iphlpapi.lib" > } > > Roman ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel