On October 26, 2022 9:32 AM, Daniel Stenberg wrote:
>On Wed, 26 Oct 2022, [email protected] wrote:
>
>>> The curl_off_t type is determined in the curl/curl.h header but
>>> seeing this output above, it seems to indicate that it needs
>>> adjustment for HPE NonStop.
>>
>> The c99 interpretation of long long in 32-bit compiles is 64 bits,
>> while size_t and related offsets is 32-bits. I don't think it is
>> possible to fix this, because the interpretation is correct. What is
>> the principle of the fix required?
>
>To make sure curl_off_t is typedefed to a 'long long' on your platform.

Snippet to do that:

#if defined __TANDEM
typedef long long curl_off_t;
#endif

Best place to do that? In configure or just curl.h?

-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html

Reply via email to