Skip to content

Commit

Permalink
[0.64] Replace __APPLE__ with __clang__ where applicable (#9481)
Browse files Browse the repository at this point in the history
* Replace __APPLE__ with __clang__ where applicable (#9461)

* Replace __APPLE__ with __clang__ where applicable

* Change files

* Revert unneeded changes

* Revert unneeded changes

* Remove change file

* Change files
  • Loading branch information
JunielKatarn committed Feb 7, 2022
1 parent cbc6fbe commit b25b46d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Replace __APPLE__ with __clang__ where applicable (#9461)",
"packageName": "react-native-windows",
"email": "julio.rocha@microsoft.com",
"dependentChangeType": "patch"
}
2 changes: 1 addition & 1 deletion vnext/Microsoft.ReactNative.Cxx/NativeModules.h
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ constexpr void ValidateCoroutineArg() noexcept {
static_assert(
!std::is_reference_v<TArg> && !std::is_pointer_v<TArg>,
"Coroutine parameter must be passed by value for safe access"
#ifndef __APPLE__
#ifndef __clang__
": " __FUNCSIG__
#endif
);
Expand Down

0 comments on commit b25b46d

Please sign in to comment.