]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl/system.h: drop leftover comment about 32 bit curl_off_t
authorDaniel Stenberg <daniel@haxx.se>
Sat, 29 Mar 2025 13:13:29 +0000 (14:13 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Sat, 29 Mar 2025 14:54:00 +0000 (15:54 +0100)
curl MUST have a 64 bit curl_off_t these days

Closes #16867

include/curl/system.h

index 589b21dbc8772e0f93188cb2f6c7d5a411760c77..00bd638ce48e8a2e1cf5e0b78164a41b24093327 100644 (file)
  * curl_off_t
  * ----------
  *
- * For any given platform/compiler curl_off_t must be typedef'ed to a 64-bit
+ * For any given platform/compiler curl_off_t MUST be typedef'ed to a 64-bit
  * wide signed integral data type. The width of this data type must remain
  * constant and independent of any possible large file support settings.
  *
- * As an exception to the above, curl_off_t shall be typedef'ed to a 32-bit
- * wide signed integral data type if there is no 64-bit type.
- *
  * As a general rule, curl_off_t shall not be mapped to off_t. This rule shall
  * only be violated if off_t is the only 64-bit data type available and the
  * size of off_t is independent of large file support settings. Keep your