summaryrefslogtreecommitdiff
path: root/shell/source/win32/shlxthandler/prophdl/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/win32/shlxthandler/prophdl/makefile.mk')
-rwxr-xr-xshell/source/win32/shlxthandler/prophdl/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/source/win32/shlxthandler/prophdl/makefile.mk b/shell/source/win32/shlxthandler/prophdl/makefile.mk
index 7900d149c1cd..b5195caad5e8 100755
--- a/shell/source/win32/shlxthandler/prophdl/makefile.mk
+++ b/shell/source/win32/shlxthandler/prophdl/makefile.mk
@@ -44,7 +44,9 @@ UWINAPILIB =
UWINAPILIB_X64 =
CFLAGS+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
+.IF "$(COM)" == "MSC"
CFLAGS+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820 -wd4100
+.ENDIF
CDEFS+=-D_WIN32_IE=0x501
# --- Files --------------------------------------------------------
@@ -96,7 +98,9 @@ DEF1EXPORTFILE=exports.dxp
# -------------------- x64 -----------------------
.IF "$(BUILD_X64)"!=""
CFLAGS_X64+=-DISOLATION_AWARE_ENABLED -DWIN32_LEAN_AND_MEAN -DXML_UNICODE -D_NTSDK -DUNICODE -D_UNICODE -D_WIN32_WINNT=0x0501
+.IF "$(COM)" == "MSC"
CFLAGS_X64+=-wd4710 -wd4711 -wd4514 -wd4619 -wd4217 -wd4820
+.ENDIF
CDEFS_X64+=-D_WIN32_IE=0x501
SLOFILES_X64=$(SLO_X64)$/$(TARGET).obj