From: Viktor Szakats Date: Thu, 5 Feb 2026 21:23:32 +0000 (+0100) Subject: tool_cb_prg: drop duplicate preprocessor logic X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6ac2de5b38d065e2ff364a378c2cf8fc150bf90;p=thirdparty%2Fcurl.git tool_cb_prg: drop duplicate preprocessor logic In favor of the copy in `curl_setup.h`. Closes #20531 --- diff --git a/src/tool_cb_prg.c b/src/tool_cb_prg.c index 375daad9fa..2b9e6d6311 100644 --- a/src/tool_cb_prg.c +++ b/src/tool_cb_prg.c @@ -107,13 +107,6 @@ static void fly(struct ProgressData *bar, bool moved) ** callback for CURLOPT_XFERINFOFUNCTION */ -#if (SIZEOF_CURL_OFF_T < 8) -#error "too small curl_off_t" -#else - /* assume SIZEOF_CURL_OFF_T == 8 */ -# define CURL_OFF_T_MAX 0x7FFFFFFFFFFFFFFF -#endif - static void update_width(struct ProgressData *bar) { int cols = get_terminal_columns();