[cfe-commits] r64557 - /cfe/trunk/lib/Basic/Targets.cpp
Anton Korobeynikov
asl at math.spbu.ru
Sat Feb 14 08:42:50 PST 2009
Author: asl
Date: Sat Feb 14 10:42:50 2009
New Revision: 64557
URL: http://llvm.org/viewvc/llvm-project?rev=64557&view=rev
Log:
Define __ELF__ on FreeBSD. Patch by Roman Divacky!
Modified:
cfe/trunk/lib/Basic/Targets.cpp
Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=64557&r1=64556&r2=64557&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Sat Feb 14 10:42:50 2009
@@ -58,7 +58,7 @@
Define(Defs, "__FreeBSD_cc_version", version);
Define(Defs, "__KPRINTF_ATTRIBUTE__");
Define(Defs, "unix");
- Define(Defs, "bsd");
+ Define(Defs, "__ELF__", "1");
if (is64Bit) {
Define(Defs, "__LP64__");
}
More information about the cfe-commits
mailing list