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

Fix Darwin build for missing mDNS impl #3440

Merged
merged 1 commit into from
Oct 26, 2020

Conversation

pan-apple
Copy link
Contributor

Problem

CHIP doesn't build on macOS.

Summary of Changes

Darwin platform manager is dependent on POSIX. Recently, mDNS was added for POSIX, but it doesn't work for Darwin platform. There's a conditional preprocessor, that enables the mDNS in this file. The code is unconditionally including some headers, which is causing build issues.

For now, this change puts the header inclusion in the same conditional checks. This fixes the immediate build issue. Eventually, we need to add mDNS implementation for Darwin target.

Fixes #3437

@bzbarsky-apple bzbarsky-apple added the hotfix urgent fix needed, can bypass review label Oct 26, 2020
@bzbarsky-apple
Copy link
Contributor

Build breakage => hotfix.

@pan-apple please make sure there's an issue filed tracking Darwin mDNS implementation.

@pan-apple
Copy link
Contributor Author

Build breakage => hotfix.

@pan-apple please make sure there's an issue filed tracking Darwin mDNS implementation.

Added this comment to an existing issue: #3121 (comment)

@bzbarsky-apple bzbarsky-apple merged commit 2a3d066 into project-chip:master Oct 26, 2020
@pan-apple pan-apple deleted the fix-darwin branch October 26, 2020 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotfix urgent fix needed, can bypass review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build is broken on macOS
3 participants