mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Work around macos broken TARGET_OS_EMBEDDED
Their headers test TARGET_OS_EMBEDDED without testing if it's defined which breaks Wundef. Might be fixed in more recent macos, but it broke the github action.
This commit is contained in:
parent
0058cc69c8
commit
dacc10a8cf
@ -373,5 +373,14 @@
|
|||||||
#define DROPBEAR_MULTI 0
|
#define DROPBEAR_MULTI 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* MacOSX10.15.sdk headers don't work with -Wundef */
|
||||||
|
#ifdef __APPLE__
|
||||||
|
|
||||||
|
#ifndef TARGET_OS_EMBEDDED
|
||||||
|
#define TARGET_OS_EMBEDDED 0
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* __APPLE__ */
|
||||||
|
|
||||||
|
|
||||||
/* no include guard for this file */
|
/* no include guard for this file */
|
||||||
|
Loading…
Reference in New Issue
Block a user