Skip to content
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

lib: replace inline redefine with CURL_INLINE macro #15523

Closed
wants to merge 2 commits into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Nov 8, 2024

Instead of redefining the inline keyword, introduce curl's own
CURL_INLINE macro and set it depending on the compiler's capabilities,
or use its value set via custom C flags.

Also keep honoring a custom inline macro, if set.


w/o whitespace: https://github.com/curl/curl/pull/15523/files?w=1

@vszakats vszakats marked this pull request as draft November 8, 2024 14:57
@vszakats vszakats marked this pull request as ready for review November 8, 2024 23:36
@vszakats vszakats changed the title lib: replace redefining inline with CURL_INLINE macro lib: replace inline redefine with CURL_INLINE macro Nov 9, 2024
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