Skip to content

Include CFBase.h in CoreFoundation_Prefix.h #4979

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

Merged

Conversation

jmschonfeld
Copy link
Contributor

This fixes a Windows build failure I encountered when building a Windows toolchain with this branch. We use CF_EXPORT within a windows-only code path of CoreFoundation_Prefix.h and CF_EXPORT is defined in CFBase.h. CFBase.h is included from this file on the main branch, so this PR restores that include which should correct this build failure.

The project still builds successfully for linux with this change

@jmschonfeld jmschonfeld merged commit 7e2f7fe into swiftlang:package Jun 17, 2024
@jmschonfeld jmschonfeld deleted the fix-windows-build-prefix-header branch June 17, 2024 16:39
jmschonfeld added a commit to jmschonfeld/swift-corelibs-foundation that referenced this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants