* [ldns] config.h change to not define inline under Windows to avoid clash with Windows winsock2.h inline usage
* [Build-System] Use updated ldns tarball on Windows.
---------
Co-authored-by: Andrey Volk <andywolk@gmail.com>
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
-#define inline
+#ifndef _WIN32
+#define inline /* Do not define inline for Windows to avoid warnings/errors with winsock2.h usage of inline within the latest Windows SDKs */
+#endif
#endif
#if _MSC_VER >= 1900
<Target Name="LDNSDownloadTarget" BeforeTargets="CustomBuild;PreBuildEvent;" DependsOnTargets="7za">
<DownloadPackageTask
- package="http://files.freeswitch.org/downloads/libs/ldns-1.6.9-1-win.tar.gz"
+ package="http://files.freeswitch.org/downloads/libs/ldns-1.6.9-2-win.tar.gz"
expectfileordirectory="$(BaseDir)libs\ldns\configure.ac"
outputfolder=""
outputfilename=""