Skip to content

Commit 6c945c4

Browse files
committed
[BOLT] Fix conditional compilation of hugify
Fix builds after llvm#117158: do not build hugify.cpp on Apple platforms.
1 parent 2d98bdc commit 6c945c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bolt/runtime/hugify.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
//
77
//===---------------------------------------------------------------------===//
88

9-
#if defined(__x86_64__) || \
10-
(defined(__aarch64__) || defined(__arm64__)) && !defined(__APPLE__)
9+
#if (defined(__x86_64__) || defined(__aarch64__) || defined(__arm64__)) && \
10+
!defined(__APPLE__)
1111

1212
#include "common.h"
1313

0 commit comments

Comments
 (0)