зеркало из https://github.com/mozilla/gecko-dev.git
bug 773865. Setting env var `MOZ_WINCONSOLE` now causes `MOZ_WINCONSOLE` to be defined for the preprocessor as well. windbgdlg no longer fails to build when `MOZ_WINCONSOLE` env var has been set to 1. r=ted
This commit is contained in:
Родитель
5209a1855d
Коммит
a4225a298a
|
@ -363,6 +363,10 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
if test -n "$MOZ_WINCONSOLE"; then
|
||||
AC_DEFINE(MOZ_WINCONSOLE)
|
||||
fi
|
||||
|
||||
MOZ_TOOL_VARIABLES
|
||||
|
||||
dnl ========================================================
|
||||
|
|
|
@ -14,5 +14,6 @@ SIMPLE_PROGRAMS = windbgdlg$(BIN_SUFFIX)
|
|||
|
||||
CPPSRCS = windbgdlg.cpp
|
||||
|
||||
MOZ_WINCONSOLE = 0
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
|
|
|
@ -57,7 +57,6 @@ else
|
|||
MOZ_WINCONSOLE = 0
|
||||
endif
|
||||
endif
|
||||
DEFINES += -DMOZ_WINCONSOLE=$(MOZ_WINCONSOLE)
|
||||
|
||||
# This switches $(INSTALL) to copy mode, like $(SYSINSTALL), so things that
|
||||
# shouldn't get 755 perms need $(IFLAGS1) for either way of calling nsinstall.
|
||||
|
|
Загрузка…
Ссылка в новой задаче