Define __ELF__ for linux systems.

llvm-svn: 64553
This commit is contained in:
Argyrios Kyrtzidis 2009-02-14 15:02:45 +00:00
parent 73247d2edc
commit d831cac2a7
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ static void getLinuxDefines(std::vector<char> &Defs) {
Define(Defs, "__linux");
Define(Defs, "linux");
Define(Defs, "__gnu_linux__");
Define(Defs, "__ELF__", "1");
}
/// getDarwinNumber - Parse the 'darwin number' out of the specific targe