From 43a3643eaf6d411b43b01cbbf85a197ffdaba204 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Mon, 29 Jun 2009 22:45:37 +0000 Subject: [PATCH] Don't define __KPRINTF_ATTRIBUTE__ unconditionally on OpenBSD. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74467 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Basic/Targets.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index e156e2abd2..55167f8151 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -75,7 +75,6 @@ static void getOpenBSDDefines(const LangOptions &Opts, bool is64Bit, // 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) {