tool_cb_prg: drop duplicate preprocessor logic

In favor of the copy in `curl_setup.h`.

Closes #20531
This commit is contained in:
Viktor Szakats 2026-02-05 22:23:32 +01:00
parent 0495425c69
commit c6ac2de5b3
No known key found for this signature in database

View file

@ -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();