Skip to content

Commit fb3e3cf

Browse files
committed
[JITLink][Cygwin] undef i386 in JITLink/i386.h
i686 cygwin gcc has a default define of i386 to 1, which conflicts with a namespace named i386, so undef it.
1 parent a073bb5 commit fb3e3cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/include/llvm/ExecutionEngine/JITLink/i386.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
1717
#include "llvm/ExecutionEngine/JITLink/TableManager.h"
1818

19+
#undef i386
20+
1921
namespace llvm::jitlink::i386 {
2022
/// Represets i386 fixups
2123
enum EdgeKind_i386 : Edge::Kind {

0 commit comments

Comments
 (0)