gn build: Stop defining LLVM_ON_UNIX globally.

This macro is already being defined in llvm-config.h.

Differential Revision: https://reviews.llvm.org/D56626

llvm-svn: 351154
This commit is contained in:
Peter Collingbourne 2019-01-15 02:42:47 +00:00
parent 07d5b7f47e
commit 9a11356137
1 changed files with 0 additions and 5 deletions

View File

@ -5,11 +5,6 @@ import("//llvm/utils/gn/build/toolchain/compiler.gni")
config("compiler_defaults") {
defines = []
# FIXME: Don't define this globally here.
if (host_os != "win") {
defines += [ "LLVM_ON_UNIX" ]
}
if (!llvm_enable_assertions) {
defines += [ "NDEBUG" ]
}