summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/system_win32.h
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2019-06-05 20:09:24 +0300
committerdartraiden <wowemuh@gmail.com>2019-06-05 20:13:19 +0300
commit7d8e819436384f957d70da9cac16163506b86b5d (patch)
treee3c02116e9dadc6cb5940742123eb73a809b58dc /libs/libcurl/src/system_win32.h
parent40a2107efb3b0c17e54ad7d611fa964f2e703a14 (diff)
libcurl: update to 7.65.1
Diffstat (limited to 'libs/libcurl/src/system_win32.h')
-rw-r--r--libs/libcurl/src/system_win32.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/libcurl/src/system_win32.h b/libs/libcurl/src/system_win32.h
index 926328a9aa..c07cf1fb72 100644
--- a/libs/libcurl/src/system_win32.h
+++ b/libs/libcurl/src/system_win32.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2016, Steve Holme, <steve_holme@hotmail.com>.
+ * Copyright (C) 2016 - 2019, Steve Holme, <steve_holme@hotmail.com>.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -48,20 +48,21 @@ typedef enum {
PLATFORM_WINNT
} PlatformIdentifier;
+/* We use our own typedef here since some headers might lack this */
+typedef unsigned int(WINAPI *IF_NAMETOINDEX_FN)(const char *);
+
+/* This is used instread of if_nametoindex if available on Windows */
+IF_NAMETOINDEX_FN Curl_if_nametoindex;
+
/* This is used to verify if we are running on a specific windows version */
bool Curl_verify_windows_version(const unsigned int majorVersion,
const unsigned int minorVersion,
const PlatformIdentifier platform,
const VersionCondition condition);
-#if defined(USE_WINDOWS_SSPI) || (!defined(CURL_DISABLE_TELNET) && \
- defined(USE_WINSOCK))
-
/* This is used to dynamically load DLLs */
HMODULE Curl_load_library(LPCTSTR filename);
-#endif /* USE_WINDOWS_SSPI || (!CURL_DISABLE_TELNET && USE_WINSOCK) */
-
#endif /* WIN32 */
#endif /* HEADER_CURL_SYSTEM_WIN32_H */