summaryrefslogtreecommitdiff
path: root/shell/source/win32/shlxthandler/ooofilt
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/win32/shlxthandler/ooofilt')
-rwxr-xr-xshell/source/win32/shlxthandler/ooofilt/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/makefile.mk b/shell/source/win32/shlxthandler/ooofilt/makefile.mk
index a2ee326ecb..92111c6ed0 100755
--- a/shell/source/win32/shlxthandler/ooofilt/makefile.mk
+++ b/shell/source/win32/shlxthandler/ooofilt/makefile.mk
@@ -41,7 +41,9 @@ UWINAPILIB=
.INCLUDE : settings.mk
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
+.ENDIF
CDEFS+=-D_WIN32_IE=0x501
# --- Files --------------------------------------------------------
@@ -90,7 +92,9 @@ DEF1EXPORTFILE=exports.dxp
.IF "$(BUILD_X64)"!=""
#---------------------------- 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
USE_DEFFILE_X64=TRUE