[Build-System, ldns] config.h change to not define inline under Windows to avoid clash with Windows winsock2.h inline usage. Use updated ldns tarball on Windows.
* [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>
This commit is contained in:
parent
0cea9811cd
commit
a6e219062d
|
@ -260,7 +260,9 @@
|
|||
/* 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
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<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=""
|
||||
|
|
Loading…
Reference in New Issue