зеркало из https://github.com/mozilla/gecko-dev.git
Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch. Bug #172898 r=cls a=asa
This commit is contained in:
Родитель
520a622bbd
Коммит
57e08a3f3a
|
@ -109,10 +109,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
INCLUDES += \
|
||||
-I$(srcdir)/../../events/src \
|
||||
-I$(srcdir)/../../html/base/src \
|
||||
|
|
|
@ -60,10 +60,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/../../html/base/src \
|
||||
-I$(srcdir)/../../xul/content/src \
|
||||
$(NULL)
|
||||
|
|
|
@ -128,10 +128,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
INCLUDES += \
|
||||
-I$(srcdir)/../../style/src \
|
||||
-I$(srcdir)/../../../base/src \
|
||||
|
|
|
@ -78,10 +78,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
INCLUDES += \
|
||||
-I$(srcdir)/../../base/src \
|
||||
-I$(srcdir)/../../../base/src \
|
||||
|
|
|
@ -96,10 +96,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../../base/src \
|
||||
-I$(srcdir)/../../../base/src \
|
||||
|
|
|
@ -67,7 +67,3 @@ endif
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -94,10 +94,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../../base/src \
|
||||
-I$(srcdir)/../../html/style/src \
|
||||
|
|
|
@ -64,10 +64,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir) \
|
||||
-I$(srcdir)/../../../xsl/document/src \
|
||||
|
|
|
@ -38,10 +38,6 @@ REQUIRES = xpcom \
|
|||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
CPPSRCS = \
|
||||
nsXSLContentSink.cpp \
|
||||
nsTransformMediator.cpp \
|
||||
|
|
|
@ -62,10 +62,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir) \
|
||||
-I$(srcdir)/../../document/src \
|
||||
|
|
|
@ -71,10 +71,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/../../../base/src \
|
||||
-I$(srcdir)/../../content/src \
|
||||
-I$(srcdir)/../../templates/src \
|
||||
|
|
|
@ -78,10 +78,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = -I$(srcdir)/../../../base/src \
|
||||
-I$(srcdir)/../../content/src \
|
||||
$(NULL)
|
||||
|
|
|
@ -88,7 +88,3 @@ ifdef NS_TRACE_MALLOC
|
|||
DEFINES += -DNS_TRACE_MALLOC
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -49,7 +49,3 @@ include $(topsrcdir)/config/rules.mk
|
|||
|
||||
INCLUDES += -I$(srcdir)/../base
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -41,6 +41,9 @@
|
|||
|
||||
#include <commctrl.h>
|
||||
|
||||
// commdlg.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <commdlg.h>
|
||||
|
||||
#include "HelperAppDlg.h"
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
//#include <comdef.h>
|
||||
#include <shlobj.h>
|
||||
|
||||
// commdlg.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <commdlg.h>
|
||||
|
||||
#include "MozillaControl.h"
|
||||
#include "MozillaBrowser.h"
|
||||
#include "IEHtmlDocument.h"
|
||||
|
|
|
@ -152,8 +152,6 @@ ifdef MOZ_ACTIVEX_PLUGIN_WMPSUPPORT
|
|||
CPPSRCS += XPCMediaPlayer.cpp
|
||||
endif
|
||||
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
|
||||
LOCAL_INCLUDES = -I$(MOZCTLSRC)
|
||||
|
||||
ifdef MOZ_ACTIVEX_PLUGIN_LIVECONNECT
|
||||
|
|
|
@ -112,7 +112,3 @@ EXTRA_DSO_LDOPTS += \
|
|||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -77,7 +77,7 @@ FORCE_SHARED_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
CXXFLAGS += /D "WIN32_LEAN_AND_MEAN" /D "_AFXDLL" /D "USE_SINGLE_SIGN_ON" /D "_WINDLL"
|
||||
CXXFLAGS += /D "_AFXDLL" /D "USE_SINGLE_SIGN_ON" /D "_WINDLL"
|
||||
LDFLAGS += -SUBSYSTEM:windows
|
||||
|
||||
Dialogs.res: Dialogs.rc resource.h
|
||||
|
|
|
@ -39,8 +39,6 @@
|
|||
#pragma once
|
||||
#endif // _MSC_VER > 1000
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
|
||||
|
||||
|
||||
// Windows Header Files:
|
||||
#include <windows.h>
|
||||
|
|
|
@ -90,7 +90,3 @@ EXTRA_DSO_LDOPTS = \
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -43,7 +43,3 @@ endif
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -71,7 +71,3 @@ endif
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -47,7 +47,3 @@ LOCAL_INCLUDES = -I$(srcdir)/..
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -70,7 +70,3 @@ EXTRA_COMPONENTS = nsInterfaceInfoToIDL.js
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -77,5 +77,5 @@ EXTRA_DSO_LDOPTS += \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN -D__STDC__
|
||||
DEFINES += -D__STDC__
|
||||
endif
|
||||
|
|
|
@ -70,7 +70,3 @@ EXTRA_COMPONENTS = nsInterfaceInfoToIDL.js
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -56,7 +56,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -74,7 +74,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -54,7 +54,3 @@ LOCAL_INCLUDES = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -58,7 +58,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -70,7 +70,3 @@ EXTRA_COMPONENTS = nsInterfaceInfoToIDL.js
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -56,7 +56,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -74,7 +74,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -54,7 +54,3 @@ LOCAL_INCLUDES = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -137,9 +137,6 @@ endif
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -D_IMPL_NS_GFX
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
libs:: icon_0.gif icon_1.gif
|
||||
$(INSTALL) -m 555 $^ $(DIST)/bin/res/gfx
|
||||
|
|
|
@ -101,7 +101,7 @@ libs:: fontEncoding.properties
|
|||
install:: fontEncoding.properties
|
||||
$(INSTALL) $^ $(DESTDIR)$(mozappdir)/res/fonts
|
||||
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN -DSTRICT
|
||||
DEFINES += -DSTRICT
|
||||
|
||||
EXTRA_DSO_LDOPTS += \
|
||||
$(EXTRA_DSO_LIBS) \
|
||||
|
|
|
@ -94,7 +94,3 @@ EXTRA_DSO_LDOPTS += \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -DXML_DTD
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -58,5 +58,5 @@ CPPSRCS = \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -D__STDC__ -DWIN32_LEAN_AND_MEAN
|
||||
DEFINES += -D__STDC__
|
||||
endif
|
||||
|
|
|
@ -49,5 +49,5 @@ include $(topsrcdir)/config/rules.mk
|
|||
INCLUDES += -I..
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -D__STDC__ -DWIN32_LEAN_AND_MEAN
|
||||
DEFINES += -D__STDC__
|
||||
endif
|
||||
|
|
|
@ -74,7 +74,3 @@ libs::
|
|||
|
||||
install::
|
||||
$(SYSINSTALL) $(IFLAGS1) $(EXPORT_RESOURCE) $(DESTDIR)$(mozappdir)/res
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -47,5 +47,3 @@ CPPSRCS = \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
INCLUDES += -I$(srcdir)/..
|
||||
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
|
|
|
@ -52,7 +52,3 @@ ifeq (,$(filter AIX OpenVMS QNX HP-UX,$(OS_ARCH)))
|
|||
CFLAGS += -D__STDC__
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -157,10 +157,6 @@ ifeq ($(OS_ARCH), Linux)
|
|||
DEFINES += -D_XOPEN_SOURCE=500
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
libs:: $(EXPORT_RESOURCE)
|
||||
$(INSTALL) $^ $(DIST)/bin/res
|
||||
|
||||
|
|
|
@ -57,7 +57,3 @@ EXPORTS = nsUCvCnCID.h
|
|||
LOCAL_INCLUDES = -I$(srcdir)/../util
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -76,7 +76,3 @@ endif
|
|||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -55,7 +55,3 @@ LOCAL_INCLUDES = -I$(srcdir)/../util
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -169,7 +169,3 @@ EXPORTS = nsUCvLatinCID.h
|
|||
LOCAL_INCLUDES = -I$(srcdir)/../util -I$(srcdir)/../src
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -73,7 +73,3 @@ SHARED_LIBRARY_LIBS = \
|
|||
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -51,7 +51,3 @@ EXPORTS = nsUCvTWCID.h
|
|||
LOCAL_INCLUDES = -I$(srcdir)/../util
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -59,7 +59,3 @@ EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -48,5 +48,5 @@ CPPSRCS = \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -D__STDC__ -DWIN32_LEAN_AND_MEAN
|
||||
DEFINES += -D__STDC__
|
||||
endif
|
||||
|
|
|
@ -42,8 +42,6 @@ EXPORT_LIBRARY = 1
|
|||
IS_COMPONENT = 1
|
||||
MODULE_NAME = xpconnect_sample
|
||||
|
||||
DEFINES=-DWIN32_LEAN_AND_MEAN
|
||||
|
||||
REQUIRES = XPCOM \
|
||||
XPCONNECT \
|
||||
JS \
|
||||
|
|
|
@ -60,9 +60,6 @@ DEFINES += -DJS_THREADSAFE
|
|||
ifeq ($(OS_ARCH), Linux)
|
||||
DEFINES += -D_BSD_SOURCE
|
||||
endif
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
#
|
||||
# Line editing support. If your OS supplies the readline library, define
|
||||
|
|
|
@ -122,7 +122,6 @@ DEFINES += -DXPC_IDISPATCH_SUPPORT
|
|||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
# use pre-compiled headers
|
||||
CXXFLAGS += -YX -Fp$(LIBRARY_NAME).pch
|
||||
# precompiled headers require write access to .pch which breaks -j builds
|
||||
|
|
|
@ -60,6 +60,3 @@ LIBS = \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -DJS_THREADSAFE -DJSFILE
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -76,7 +76,3 @@ EXTRA_DSO_LDOPTS += \
|
|||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -65,7 +65,4 @@ EXTRA_DSO_LDOPTS += \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -DJSFILE -DJS_THREADSAFE
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -78,10 +78,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../../events/src \
|
||||
-I$(srcdir)/../../html/base/src \
|
||||
|
|
|
@ -147,10 +147,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../../../xul/base/src \
|
||||
-I$(srcdir)/../../../xul/content/src \
|
||||
|
|
|
@ -60,10 +60,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../../base/src \
|
||||
-I$(srcdir)/../../../base/src \
|
||||
|
|
|
@ -75,10 +75,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../../../base/src \
|
||||
-I$(srcdir)/../../base/src \
|
||||
|
|
|
@ -63,10 +63,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../../base/src \
|
||||
-I$(srcdir)/../../../base/src \
|
||||
|
|
|
@ -61,10 +61,6 @@ include $(topsrcdir)/config/rules.mk
|
|||
|
||||
DEFINES += -DDEBUG_TABLE_REFLOW_TIMING_off -DDEBUG_TABLE_STRATEGY_off
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir)/../../base/src \
|
||||
-I$(srcdir)/../../style/src \
|
||||
|
|
|
@ -88,10 +88,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
_PROPERTIES = \
|
||||
mathfont.properties \
|
||||
mathfontPUA.properties \
|
||||
|
|
|
@ -38,10 +38,6 @@ REQUIRES = xpcom \
|
|||
|
||||
include $(topsrcdir)/config/config.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
CPPSRCS = \
|
||||
nsMathMLAtoms.cpp \
|
||||
nsMathMLOperators.cpp \
|
||||
|
|
|
@ -69,10 +69,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
CXXFLAGS += $(MOZ_LIBART_CFLAGS)
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
|
|
|
@ -112,10 +112,6 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
LOCAL_INCLUDES = \
|
||||
-I$(srcdir) \
|
||||
-I$(srcdir)/../../../base/src \
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
|
||||
#include <windows.h>
|
||||
|
||||
// shellapi.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <shellapi.h>
|
||||
|
||||
#include "nsIMessengerOSIntegration.h"
|
||||
#include "nsIFolderListener.h"
|
||||
#include "nsIAlertsService.h"
|
||||
|
|
|
@ -111,7 +111,6 @@ endif
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
CXXFLAGS += -GX
|
||||
OS_LIBS += version.lib
|
||||
endif
|
||||
|
|
|
@ -45,8 +45,6 @@ CPPSRCS = \
|
|||
utils.cpp \
|
||||
$(NULL)
|
||||
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
|
||||
# plugins should always be shared, even in the "static" build
|
||||
FORCE_SHARED_LIB = 1
|
||||
|
||||
|
|
|
@ -99,7 +99,4 @@ include $(topsrcdir)/config/rules.mk
|
|||
ifeq ($(OS_ARCH),Linux)
|
||||
DEFINES += -D_BSD_SOURCE
|
||||
endif
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -105,7 +105,3 @@ EXTRA_DSO_LDOPTS += \
|
|||
endif
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -56,7 +56,3 @@ EXTRA_DSO_LDOPTS = \
|
|||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -66,6 +66,3 @@ include $(topsrcdir)/config/rules.mk
|
|||
ifeq ($(OS_ARCH),Linux)
|
||||
DEFINES += -D_BSD_SOURCE
|
||||
endif
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -46,7 +46,3 @@ include $(topsrcdir)/config/rules.mk
|
|||
ifeq ($(OS_ARCH), Linux)
|
||||
DEFINES += -D_BSD_SOURCE
|
||||
endif
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -44,7 +44,3 @@ FORCE_STATIC_LIB = 1
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
||||
|
|
|
@ -50,7 +50,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -42,7 +42,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -50,7 +50,3 @@ LOCAL_INCLUDES = \
|
|||
$(NULL)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -59,7 +59,6 @@ FORCE_STATIC_LIB = 1
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
ifndef MOZ_DEBUG
|
||||
ifndef NO_LOGGING
|
||||
DEFINES += -DFORCE_PR_LOG
|
||||
|
|
|
@ -45,7 +45,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -64,7 +64,3 @@ LOCAL_INCLUDES=-I$(srcdir)/../../../base/src
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -53,7 +53,3 @@ LOCAL_INCLUDES = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -49,9 +49,6 @@ LOCAL_INCLUDES = \
|
|||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
ifeq ($(OS_ARCH), Linux)
|
||||
DEFINES += -D_BSD_SOURCE
|
||||
endif
|
||||
|
|
|
@ -44,7 +44,3 @@ CPPSRCS = \
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -74,6 +74,6 @@ LOCAL_INCLUDES = \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN -DZLIB_DLL
|
||||
DEFINES += -DZLIB_DLL
|
||||
endif
|
||||
|
||||
|
|
|
@ -48,7 +48,3 @@ endif
|
|||
FORCE_STATIC_LIB = 1
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -94,7 +94,3 @@ EXTRA_DSO_LDOPTS += \
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -DXML_DTD
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -59,7 +59,3 @@ FORCE_USE_PIC = 1
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -D_IMPL_NS_COM
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -61,7 +61,3 @@ FORCE_USE_PIC = 1
|
|||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
DEFINES += -D_IMPL_NS_COM
|
||||
|
||||
ifeq ($(OS_ARCH),WINNT)
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
endif
|
||||
|
|
|
@ -34,6 +34,9 @@
|
|||
// we need windows.h to read out registry information...
|
||||
#include <windows.h>
|
||||
|
||||
// shellapi.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <shellapi.h>
|
||||
|
||||
// helper methods: forward declarations...
|
||||
BYTE * GetValueBytes( HKEY hKey, const char *pValueName, DWORD *pLen=0);
|
||||
nsresult GetExtensionFrom4xRegistryInfo(const char * aMimeType, nsCString& aFileExtension);
|
||||
|
|
|
@ -44,8 +44,6 @@ CPPSRCS = \
|
|||
nsLabel.cpp \
|
||||
$(NULL)
|
||||
|
||||
DEFINES += -DWIN32_LEAN_AND_MEAN
|
||||
|
||||
ifdef MOZ_UNICODE
|
||||
DEFINES += -DMOZ_UNICODE
|
||||
endif
|
||||
|
|
|
@ -42,6 +42,10 @@
|
|||
#include "nsIEventQueueService.h"
|
||||
#include "nsIServiceManager.h"
|
||||
#include <windows.h>
|
||||
|
||||
// unknwn.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <unknwn.h>
|
||||
|
||||
#include "nsWidgetsCID.h"
|
||||
#ifdef MOZ_AIMM
|
||||
#include "aimm.h"
|
||||
|
|
|
@ -42,6 +42,9 @@
|
|||
#include <SHLOBJ.H>
|
||||
#include <INTSHCUT.H>
|
||||
|
||||
// shellapi.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <shellapi.h>
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsDataObj.h"
|
||||
#include "nsIClipboardOwner.h"
|
||||
|
|
|
@ -51,6 +51,9 @@
|
|||
#include <OLE2.h>
|
||||
#include "OLEIDL.H"
|
||||
|
||||
// shellapi.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <shellapi.h>
|
||||
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
|
|
@ -22,11 +22,6 @@
|
|||
* Seth Spitzer <sspitzer@netscape.com>
|
||||
*/
|
||||
|
||||
// Define so header files for openfilename are included
|
||||
#ifdef WIN32_LEAN_AND_MEAN
|
||||
#undef WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
@ -42,6 +37,10 @@
|
|||
#include <windows.h>
|
||||
#include <SHLOBJ.H>
|
||||
|
||||
// commdlg.h and cderr.h are needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <commdlg.h>
|
||||
#include <cderr.h>
|
||||
|
||||
#ifdef MOZ_UNICODE
|
||||
#include "nsString.h"
|
||||
#include "nsToolkit.h"
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
|
||||
#include <windows.h>
|
||||
|
||||
// mmsystem.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <mmsystem.h>
|
||||
|
||||
#include "nsSound.h"
|
||||
#include "nsIURL.h"
|
||||
#include "nsNetUtil.h"
|
||||
|
|
|
@ -45,10 +45,15 @@
|
|||
#include "nsIEventQueueService.h"
|
||||
#include "nsIEventQueue.h"
|
||||
#ifdef MOZ_AIMM
|
||||
// objbase.h must be declared before initguid.h to use the |DEFINE_GUID|'s in aimm.h
|
||||
#include <objbase.h>
|
||||
#include <initguid.h>
|
||||
#include "aimm.h"
|
||||
#endif
|
||||
|
||||
// unknwn.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <unknwn.h>
|
||||
|
||||
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
|
||||
|
||||
// Cached reference to event queue service
|
||||
|
|
|
@ -67,6 +67,9 @@
|
|||
#include "nsIEventQueue.h"
|
||||
#include <windows.h>
|
||||
|
||||
// unknwn.h is needed to build with WIN32_LEAN_AND_MEAN
|
||||
#include <unknwn.h>
|
||||
|
||||
//#include <winuser.h>
|
||||
#include <zmouse.h>
|
||||
//#include "sysmets.h"
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче