зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
1fd2dd145d
Коммит
43a3643eaf
|
@ -75,7 +75,6 @@ static void getOpenBSDDefines(const LangOptions &Opts, bool is64Bit,
|
||||||
// OpenBSD defines; list based off of gcc output
|
// OpenBSD defines; list based off of gcc output
|
||||||
|
|
||||||
Define(Defs, "__OpenBSD__", "1");
|
Define(Defs, "__OpenBSD__", "1");
|
||||||
Define(Defs, "__KPRINTF_ATTRIBUTE__");
|
|
||||||
DefineStd(Defs, "unix", Opts);
|
DefineStd(Defs, "unix", Opts);
|
||||||
Define(Defs, "__ELF__", "1");
|
Define(Defs, "__ELF__", "1");
|
||||||
if (is64Bit) {
|
if (is64Bit) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче