Skip to content

Commit 87e8a12

Browse files
maksfbvar-const
authored andcommitted
[BOLT] Fix conditional compilation of hugify.cpp (llvm#135880)
Fix builds after llvm#117158: do not build hugify.cpp on Apple platforms.
1 parent 92168fe commit 87e8a12

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)