Skip to content

Commit

Permalink
fix evil Windows macros
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanming-hu committed Feb 24, 2020
1 parent 440cc67 commit 57287cf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions taichi/backends/llvm_jit_cpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
// leads to a JIT that crashes all C++ exception after JIT session
// destruction...

#if defined(min)
#undef min
#endif
#if defined(max)
#undef max
#endif
#include "llvm/ADT/StringRef.h"
#include "llvm/ExecutionEngine/ExecutionEngine.h"
#include "llvm/ExecutionEngine/JITSymbol.h"
Expand Down

0 comments on commit 57287cf

Please sign in to comment.