apple / swift-corelibs-foundation

The Foundation Project, providing core utilities, internationalization, and OS independence
swift.org
Apache License 2.0
5.23k stars 1.12k forks source link

Include CFBase.h in CoreFoundation_Prefix.h #4979

Closed jmschonfeld closed 2 weeks ago

jmschonfeld commented 2 weeks ago

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