commit | 99de95343eb09885ab9aa898dc9dba117b40179d | [log] [tgz] |
---|---|---|
author | Argiris Kirtzidis <akyrtzi@gmail.com> | Sat Feb 14 15:02:45 2009 +0000 |
committer | Argiris Kirtzidis <akyrtzi@gmail.com> | Sat Feb 14 15:02:45 2009 +0000 |
tree | a9c6dc66ca28e960bc73c25d3ca305e619fd4b97 | |
parent | f164c29b12bf91a6afa3d550156b73f6aeb78832 [diff] [blame] |
Define __ELF__ for linux systems. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64553 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index 9e81ed7..b37939f 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp
@@ -85,6 +85,7 @@ Define(Defs, "__linux"); Define(Defs, "linux"); Define(Defs, "__gnu_linux__"); + Define(Defs, "__ELF__", "1"); } /// getDarwinNumber - Parse the 'darwin number' out of the specific targe