Skip to content

Commit

Permalink
Update platform.h with correct Apple detection macro.
Browse files Browse the repository at this point in the history
Imported from #334

PiperOrigin-RevId: 534428246
  • Loading branch information
Ruy Contributors authored and copybara-github committed May 23, 2023
1 parent c19139f commit 27c6de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ruy/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ limitations under the License.
// Enable on sufficiently recent Android NDK. Earlier versions had broken
// intrinsics headers.
#define RUY_PLATFORM_X86_ENHANCEMENTS 1
#elif (defined(__APPLE_) || defined(__linux__)) && defined(__clang__) && \
#elif (defined(__APPLE__) || defined(__linux__)) && defined(__clang__) && \
(__clang_major__ >= 8)
// Enable on recent versions of Clang. Might be possible
// to relax this version requirement.
Expand Down

0 comments on commit 27c6de4

Please sign in to comment.