[PATCH] D56626: gn build: Stop defining LLVM_ON_UNIX globally.
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 11 17:37:17 PST 2019
pcc created this revision.
pcc added reviewers: phosek, thakis.
This macro is already being defined in llvm-config.h.
Repository:
rL LLVM
https://reviews.llvm.org/D56626
Files:
llvm/utils/gn/build/BUILD.gn
Index: llvm/utils/gn/build/BUILD.gn
===================================================================
--- llvm/utils/gn/build/BUILD.gn
+++ llvm/utils/gn/build/BUILD.gn
@@ -5,11 +5,6 @@
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" ]
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D56626.181404.patch
Type: text/x-patch
Size: 418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190112/7e5f670f/attachment.bin>
More information about the llvm-commits
mailing list