aboutsummaryrefslogtreecommitdiffstats
path: root/git-curl-compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'git-curl-compat.h')
-rw-r--r--git-curl-compat.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/git-curl-compat.h b/git-curl-compat.h
index 703756ba85..659e5a3875 100644
--- a/git-curl-compat.h
+++ b/git-curl-compat.h
@@ -45,4 +45,18 @@
#define GIT_CURL_HAVE_CURLOPT_PROTOCOLS_STR 1
#endif
+/**
+ * curl_global_trace() was added in 8.3.0, released September 2023.
+ */
+#if LIBCURL_VERSION_NUM >= 0x080300
+#define GIT_CURL_HAVE_GLOBAL_TRACE 1
+#endif
+
+/**
+ * CURLOPT_TCP_KEEPCNT was added in 8.9.0, released in July, 2024.
+ */
+#if LIBCURL_VERSION_NUM >= 0x080900
+#define GIT_CURL_HAVE_CURLOPT_TCP_KEEPCNT
+#endif
+
#endif