Skip to content

Conversation

@barracuda156
Copy link
Contributor

Fix environ declaration

@nikias
Copy link
Member

nikias commented Nov 2, 2025

Hi, I tried both code paths on macOS and both yield the same results. Please clarify why this change would make a difference?

@barracuda156
Copy link
Contributor Author

barracuda156 commented Nov 2, 2025

Because existing code does not compile on some macOS versions (failing at linkage with undefined environ) and is not consistent with Apple documentation either. This PR solves both of these issues.

@nikias nikias merged commit 8d143c9 into libimobiledevice:master Nov 2, 2025
4 checks passed
@barracuda156 barracuda156 deleted the environ branch November 2, 2025 23:56
@barracuda156
Copy link
Contributor Author

Thank you for merging!

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