Fixed VS builds.

This commit is contained in:
Evgeny Grin (Karlson2k)
2016-10-06 18:09:34 +00:00
parent f2426d2b0f
commit 48b38bdbbe
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -60,19 +60,12 @@
#define HAVE_POLL 1
#endif /* _WIN32_WINNT >= 0x0600 */
/* define to 0 to disable epoll support */
#define EPOLL_SUPPORT 0
/* Define to 1 if you have the <winsock2.h> header file. */
#define HAVE_WINSOCK2_H 1
/* Define to 1 if you have the <ws2tcpip.h> header file. */
#define HAVE_WS2TCPIP_H 1
/* Define to 1 if you have the declaration of `SOCK_NONBLOCK', and to 0 if you
don't. */
#define HAVE_DECL_SOCK_NONBLOCK 0
/* Define to 1 if you have the `_lseeki64' function. */
#define HAVE___LSEEKI64 1
@@ -114,9 +107,6 @@
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* Define to 1 if you have the <pthread.h> header file. */
#define HAVE_PTHREAD_H 0
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
+1 -1
View File
@@ -8,7 +8,7 @@ Remove-Variable MHD_ver,MHD_ver_major,MHD_ver_minor,MHD_ver_patchlev -ErrorActio
Write-Output "Processing: ${BasePath}..\..\configure.ac"
foreach($line in Get-Content "${BasePath}..\..\configure.ac")
{
if ($line -match '^AC_INIT\(\[libmicrohttpd\],\[((\d+).(\d+).(\d+))\]')
if ($line -match '^AC_INIT\(\[(?:GNU )?libmicrohttpd\],\[((\d+).(\d+).(\d+))\]')
{
[string]$MHD_ver = $Matches[1].ToString()
[string]$MHD_ver_major = $Matches[2].ToString()