diff options
author | Brad King <brad.king@kitware.com> | 2018-10-22 11:41:04 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-22 12:02:38 -0400 |
commit | 3dc484e5311836e5fb741605075c188e130334bf (patch) | |
tree | bac9d6a148d20a4d0ddac621ac4366bae4f17867 /Source | |
parent | fd02538974dd952a8639d371c2c0067d30d5469a (diff) | |
download | cmake-3dc484e5311836e5fb741605075c188e130334bf.tar.gz |
curl: add missing type sizes for 'long long' and '__int64'
When generating `curl_config.h`, add size information for `long long`
and `__int64` types. These are needed as candidates for defining the
`ssize_t` type because on MSVC, `long` is not the same size as `size_t`.
This problem did not affect upstream curl because it computes the
`ssize_t` type in CMake code where all sizes are available. CMake's
port computes it in preprocessor logic because universal binaries on
macOS do not know type sizes until compile time.
Fixes: #18477
Diffstat (limited to 'Source')
0 files changed, 0 insertions, 0 deletions