gn build: Stop defining LLVM_ON_UNIX globally.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jan 2019 02:42:47 +0000 (02:42 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 15 Jan 2019 02:42:47 +0000 (02:42 +0000)
This macro is already being defined in llvm-config.h.

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

llvm-svn: 351154

llvm/utils/gn/build/BUILD.gn

index 37aa431..9222d31 100644 (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" ]
   }