aboutsummaryrefslogtreecommitdiff
path: root/src/testcurl/test_options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testcurl/test_options.c')
-rw-r--r--src/testcurl/test_options.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/testcurl/test_options.c b/src/testcurl/test_options.c
index 79042a46..83aee6fd 100644
--- a/src/testcurl/test_options.c
+++ b/src/testcurl/test_options.c
@@ -19,14 +19,22 @@
19 */ 19 */
20 20
21/** 21/**
22 * @file mhds_get_test.c 22 * @file test_options.c
23 * @brief Testcase for libmicrohttpd HTTPS GET operations 23 * @brief Testcase for libmicrohttpd HTTPS GET operations
24 * @author Sagie Amir 24 * @author Sagie Amir
25 */ 25 */
26
27#include "platform.h" 26#include "platform.h"
28#include "microhttpd.h" 27#include "microhttpd.h"
29 28
29/* inet_pton requires Vista, add defines to declare that we
30 are compiling for Vista */
31#if (defined(__MINGW64__) || defined(__MINGW32__))
32#ifndef _WIN32_WINNT
33#define _WIN32_WINNT 0x0600
34#endif
35#endif
36
37
30#define MHD_E_MEM "Error: memory error\n" 38#define MHD_E_MEM "Error: memory error\n"
31#define MHD_E_SERVER_INIT "Error: failed to start server\n" 39#define MHD_E_SERVER_INIT "Error: failed to start server\n"
32 40