Skip to content

cmake: drop never propagated C macros #17580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Jun 11, 2025

Delete macros from curl_config.h.cmake that were never set by
the CMake script: _LARGE_FILES, _THREAD_SAFE, const, size_t.

Also:

  • lib/config-riscos.h: drop #undef _LARGE_FILES. This is an
    IBM-specific macro, no need to unset it on other platforms.

Cherry-picked from #17576

@vszakats vszakats closed this in 3c9d16f Jun 11, 2025
@vszakats vszakats deleted the cm-conf-tidy branch June 11, 2025 04:32
@vszakats vszakats added the build label Jun 11, 2025
denandz pushed a commit to denandz/curl that referenced this pull request Jun 21, 2025
Delete macros from `curl_config.h.cmake` that were never set by
the CMake script: `_LARGE_FILES`, `_THREAD_SAFE`, `const`, `size_t`.

Also:
- lib/config-riscos.h: drop `#undef _LARGE_FILES`. This is an
  IBM-specific macro, no need to unset it on other platforms.

Cherry-picked from curl#17576

Closes curl#17580
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant