diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Basic/Targets/AVR.cpp')
-rw-r--r-- | contrib/llvm-project/clang/lib/Basic/Targets/AVR.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/lib/Basic/Targets/AVR.cpp b/contrib/llvm-project/clang/lib/Basic/Targets/AVR.cpp index d865676700b5..bb215b4114ac 100644 --- a/contrib/llvm-project/clang/lib/Basic/Targets/AVR.cpp +++ b/contrib/llvm-project/clang/lib/Basic/Targets/AVR.cpp @@ -300,6 +300,7 @@ void AVRTargetInfo::getTargetDefines(const LangOptions &Opts, Builder.defineMacro("AVR"); Builder.defineMacro("__AVR"); Builder.defineMacro("__AVR__"); + Builder.defineMacro("__ELF__"); if (!this->CPU.empty()) { auto It = llvm::find_if( |