mirror of
https://github.com/curl/curl.git
synced 2026-04-15 00:21:42 +03:00
tool_cb_prg: drop duplicate preprocessor logic
In favor of the copy in `curl_setup.h`. Closes #20531
This commit is contained in:
parent
0495425c69
commit
c6ac2de5b3
1 changed files with 0 additions and 7 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue