summaryrefslogtreecommitdiff
path: root/shell/source/win32/shlxthandler/ooofilt
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-24 16:41:19 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-24 16:42:28 +0300
commit620a7ed9f89e3586adbf8e54800b46f966b2d020 (patch)
treeb2c0c2714a199ed65594e413e95bdcf3ccae289d /shell/source/win32/shlxthandler/ooofilt
parent1a4300aee3fe7d8d082ee39aec3debe14557d9b3 (diff)
Attempt to make this build with MinGW
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