diff --git a/browser/installer/Makefile.in b/browser/installer/Makefile.in index eec372bd610e..4e49ced3b2cc 100644 --- a/browser/installer/Makefile.in +++ b/browser/installer/Makefile.in @@ -86,6 +86,10 @@ ifdef MOZ_UPDATER DEFINES += -DMOZ_UPDATER=1 endif +ifdef _MSC_VER +DEFINES += -D_MSC_VER=$(_MSC_VER) +endif + # Don't ifdef MOZ_IPC this because mac ppc needs it too. include $(topsrcdir)/ipc/app/defs.mk DEFINES += -DMOZ_CHILD_PROCESS_NAME=$(MOZ_CHILD_PROCESS_NAME) diff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in index 851dfab65633..5828c99f4118 100644 --- a/browser/installer/package-manifest.in +++ b/browser/installer/package-manifest.in @@ -57,10 +57,20 @@ @BINPATH@/mozce_shunt.dll #elifdef XP_WIN32 #ifndef MOZ_MEMORY +#if _MSC_VER == 1400 @BINPATH@/Microsoft.VC80.CRT.manifest @BINPATH@/msvcm80.dll @BINPATH@/msvcp80.dll @BINPATH@/msvcr80.dll +#elif _MSC_VER == 1500 +@BINPATH@/Microsoft.VC90.CRT.manifest +@BINPATH@/msvcm90.dll +@BINPATH@/msvcp90.dll +@BINPATH@/msvcr90.dll +#elif _MSC_VER == 1600 +@BINPATH@/msvcp100.dll +@BINPATH@/msvcr100.dll +#endif #else @BINPATH@/mozcrt19.dll @BINPATH@/mozcpp19.dll