summaryrefslogtreecommitdiff
path: root/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk')
-rw-r--r--src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk b/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk
index 0b7e338a30c..a06cca43b08 100644
--- a/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk
+++ b/src/VBox/Additions/3D/win/VBoxICD/Makefile.kmk
@@ -25,7 +25,12 @@ DLLS.amd64 += VBoxICD-x86
VBoxICD_TEMPLATE = VBoxMesa3DGuestR3DllMinVista
# -wd4005: '__useHeader' : redefinition
-VBoxICD_CFLAGS = -wd4005
+VBoxICD_CFLAGS := -wd4005
+if "$(VBOX_NEWER_VCC_TOOL_STEM)" >= "VCC141"
+# -wd4255: 'PFND3DKMT_CHECKEXCLUSIVEOWNERSHIP': no function prototype given: converting '()' to '(void)'
+VBoxICD_CFLAGS += -wd4255
+endif
+
VBoxICD_INCS = \
$(VBOX_PATH_3D)/win/include \
$(PATH_ROOT)/src/VBox/Additions/WINNT/Graphics/Video \