Skip to content

Commit 42d617f

Browse files
committed
[asm][ie86-x86-64] Fix build error
Fixes llvm#164453.
1 parent 9df34a1 commit 42d617f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler-rt/lib/builtins/assembly.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,8 @@
337337
#endif
338338
#endif
339339

340-
#if defined(__i386__) || defined(__amd64__)
340+
341+
#if defined(__ASSEMBLER__) && (defined(__i386__) || defined(__amd64__))
341342
.att_syntax
342343
#endif
343344

0 commit comments

Comments
 (0)