Skip to content

Commit caa2443

Browse files
Ruy Contributorscopybara-github
authored andcommitted
Update platform.h with correct Apple detection macro.
Imported from #334 PiperOrigin-RevId: 535687917
1 parent 8997611 commit caa2443

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)