fix for llvm 10.0.0

This commit is contained in:
van Hauser
2020-11-08 16:33:25 +01:00
parent a728e8f9a5
commit 585ba4c1dd
2 changed files with 7 additions and 1 deletions

View File

@ -38,6 +38,12 @@
#if !defined(LLVM_MAJOR)
#define LLVM_MAJOR 0
#endif
#if (LLVM_MINOR - 0 == 0)
#undef LLVM_MINOR
#endif
#if !defined(LLVM_MINOR)
#define LLVM_MINOR 0
#endif
static u8 * obj_path; /* Path to runtime libraries */
static u8 **cc_params; /* Parameters passed to the real CC */