aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/curl/src/tool_setup.h
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-01-18 11:28:56 +0100
committerGitHub <noreply@github.com>2024-01-18 11:28:56 +0100
commit9d0a3761b3201e0d9db879a7adf91876ebdb0564 (patch)
tree541d11ac878c18efd7ebca81e35112aa0fef995b /contrib/libs/curl/src/tool_setup.h
parent404ef8886ecc9736bc58ade6da2fbd83b486a408 (diff)
downloadydb-9d0a3761b3201e0d9db879a7adf91876ebdb0564.tar.gz
Library import 8 (#1074)
* Library import 8 * Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
Diffstat (limited to 'contrib/libs/curl/src/tool_setup.h')
-rw-r--r--contrib/libs/curl/src/tool_setup.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/contrib/libs/curl/src/tool_setup.h b/contrib/libs/curl/src/tool_setup.h
index 16fa00e7d1..c69859ea64 100644
--- a/contrib/libs/curl/src/tool_setup.h
+++ b/contrib/libs/curl/src/tool_setup.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -37,6 +37,8 @@
#include "curl_setup.h" /* from the lib directory */
+extern FILE *tool_stderr;
+
/*
* curl tool certainly uses libcurl's external interface.
*/
@@ -47,7 +49,7 @@
* Platform specific stuff.
*/
-#if defined(macintosh) && defined(__MRC__)
+#ifdef macintosh
# define main(x,y) curl_main(x,y)
#endif
@@ -64,4 +66,12 @@
# include "tool_strdup.h"
#endif
+#if defined(_WIN32)
+/* set in win32_init() */
+extern LARGE_INTEGER tool_freq;
+extern bool tool_isVistaOrGreater;
+/* set in init_terminal() */
+extern bool tool_term_has_bold;
+#endif
+
#endif /* HEADER_CURL_TOOL_SETUP_H */