Skip to content

cmake: drop never propagated C macros#17580

Closed
vszakats wants to merge 3 commits intocurl:masterfrom
vszakats:cm-conf-tidy
Closed

cmake: drop never propagated C macros#17580
vszakats wants to merge 3 commits intocurl:masterfrom
vszakats:cm-conf-tidy

Conversation

@vszakats
Copy link
Copy Markdown
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