diff options
Diffstat (limited to 'src/testcurl/test_options.c')
-rw-r--r-- | src/testcurl/test_options.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/testcurl/test_options.c b/src/testcurl/test_options.c index 83aee6fd..79042a46 100644 --- a/src/testcurl/test_options.c +++ b/src/testcurl/test_options.c | |||
@@ -19,22 +19,14 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file test_options.c | 22 | * @file mhds_get_test.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 | |||
26 | #include "platform.h" | 27 | #include "platform.h" |
27 | #include "microhttpd.h" | 28 | #include "microhttpd.h" |
28 | 29 | ||
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 | |||
38 | #define MHD_E_MEM "Error: memory error\n" | 30 | #define MHD_E_MEM "Error: memory error\n" |
39 | #define MHD_E_SERVER_INIT "Error: failed to start server\n" | 31 | #define MHD_E_SERVER_INIT "Error: failed to start server\n" |
40 | 32 | ||