tool_util: fix the ftruncate use for DJGPP
No binary (build failed)
—
(log yok)
| @@ -105,7 +105,8 @@ int msdos_ftruncate(int fd, curl_off_t where) | |
| if(where > INT_MAX) | |
| return -1; | |
| - | return ftruncate(fd, (off_t) where); |
| + | /* avoid using the macro for this */ |
| + | return (ftruncate)(fd, (off_t) where); |
| } | |
| #endif /* USE_MSDOS_FTRUNCATE */ | |