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:
Ian Neal 2014-08-13 22:04:29 +01:00
Родитель 9949932396
Коммит 7f65479df5
2 изменённых файлов: 2 добавлений и 18 удалений

Просмотреть файл

@ -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