Skip to content

Commit

Permalink
Fix Matter.framework compilation when -Wundef is enabled. (#28424)
Browse files Browse the repository at this point in the history
Apparently we have some framework consumers that set -Wundef, so fail when
MTR_ENABLE_PROVISIONAL is not defined.
  • Loading branch information
bzbarsky-apple authored Aug 1, 2023
1 parent 4ac9304 commit 4a2d6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/MTRDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
#define MTR_NEWLY_AVAILABLE
#endif

#if MTR_ENABLE_PROVISIONAL
#if defined(MTR_ENABLE_PROVISIONAL) && MTR_ENABLE_PROVISIONAL
#define MTR_PROVISIONALLY_AVAILABLE MTR_NEWLY_AVAILABLE
#else
#define MTR_PROVISIONALLY_AVAILABLE NS_UNAVAILABLE MTR_HIDDEN
Expand Down

0 comments on commit 4a2d6e9

Please sign in to comment.