[cfe-commits] r74467 - /cfe/trunk/lib/Basic/Targets.cpp

Daniel Dunbar daniel at zuster.org
Mon Jun 29 15:45:37 PDT 2009


Author: ddunbar
Date: Mon Jun 29 17:45:37 2009
New Revision: 74467

URL: http://llvm.org/viewvc/llvm-project?rev=74467&view=rev
Log:
Don't define __KPRINTF_ATTRIBUTE__ unconditionally on OpenBSD.

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=74467&r1=74466&r2=74467&view=diff

==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Mon Jun 29 17:45:37 2009
@@ -75,7 +75,6 @@
   // OpenBSD defines; list based off of gcc output
 
   Define(Defs, "__OpenBSD__", "1");
-  Define(Defs, "__KPRINTF_ATTRIBUTE__");
   DefineStd(Defs, "unix", Opts);
   Define(Defs, "__ELF__", "1");
   if (is64Bit) {





More information about the cfe-commits mailing list