Skip to content

Commit 27c6de4

Browse files
Ruy Contributorscopybara-github
authored andcommitted
Update platform.h with correct Apple detection macro.
Imported from #334 PiperOrigin-RevId: 534428246
1 parent c19139f commit 27c6de4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ruy/platform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ limitations under the License.
108108
// Enable on sufficiently recent Android NDK. Earlier versions had broken
109109
// intrinsics headers.
110110
#define RUY_PLATFORM_X86_ENHANCEMENTS 1
111-
#elif (defined(__APPLE_) || defined(__linux__)) && defined(__clang__) && \
111+
#elif (defined(__APPLE__) || defined(__linux__)) && defined(__clang__) && \
112112
(__clang_major__ >= 8)
113113
// Enable on recent versions of Clang. Might be possible
114114
// to relax this version requirement.

0 commit comments

Comments
 (0)