Bug 1049936 - Port |Bug 1046784 - move -DNOMINMAX definitions to moz.build| to comm-central r=standard8 a=for CLOSED TREE
This commit is contained in:
Родитель
9949932396
Коммит
7f65479df5
|
@ -1,18 +0,0 @@
|
|||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
DEPTH = @DEPTH@
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(DEPTH)/config/autoconf.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
OS_CXXFLAGS += -DNOMINMAX
|
||||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
|
@ -90,3 +90,5 @@ EXTRA_PP_COMPONENTS += [
|
|||
|
||||
FINAL_LIBRARY = 'mail'
|
||||
|
||||
if CONFIG['OS_ARCH'] == 'WINNT':
|
||||
DEFINES['NOMINMAX'] = True
|
||||
|
|
Загрузка…
Ссылка в новой задаче