- Timestamp:
- Apr 19, 2020 12:38:49 AM (5 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Graphics/shaderlib/libWineStub/include/config.h
r53201 r83816 714 714 /* Define to 1 if you have the `snprintf' function. */ 715 715 /* #undef HAVE_SNPRINTF */ 716 #include <iprt/cdefs.h> /* VBox: Manual edit */ 717 #if RT_MSC_PREREQ(RT_MSC_VER_VC141) /* VBox: Manual edit */ 718 # define HAVE_SNPRINTF 1 /* VBox: Manual edit */ 719 #endif /* VBox: Manual edit */ 716 720 717 721 /* Define to 1 if you have the `socketpair' function. */ … … 1029 1033 /* Define to 1 if you have the `vsnprintf' function. */ 1030 1034 /* #undef HAVE_VSNPRINTF */ 1035 #if RT_MSC_PREREQ(RT_MSC_VER_VC141) /* VBox: Manual edit */ 1036 # define HAVE_VSNPRINTF 1 /* VBox: Manual edit */ 1037 #endif /* VBox: Manual edit */ 1031 1038 1032 1039 /* Define to 1 if you have the `wait4' function. */ -
trunk/src/VBox/Devices/Makefile.kmk
r83579 r83816 1301 1301 tstIntNetHardened-1_TEMPLATE = VBoxR3HardenedTstExe 1302 1302 tstIntNetHardened-1_NAME = tstIntNet-1 1303 tstIntNetHardened-1_DEFS = PROGRAM_NAME_STR=\"tstIntNet-1\" 1303 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1304 tstIntNetHardened-1_DEFS = PROGRAM_NAME_STR="tstIntNet-1" 1305 else 1306 tstIntNetHardened-1_DEFS = PROGRAM_NAME_STR=\"tstIntNet-1\" 1307 endif 1304 1308 tstIntNetHardened-1_SOURCES = ../HostDrivers/Support/SUPR3HardenedMainTemplateTestcase.cpp 1305 1309 … … 1474 1478 TEMPLATE_VBoxSVGA3D_EXTENDS := $(if-expr "$(KBUILD_TARGET)" == "darwin" && !defined(VBOX_WITH_NEW_XCODE),VBoxR3DllOsX107,VBOXR3) 1475 1479 TEMPLATE_VBoxSVGA3D_CFLAGS = $(filter-out -pedantic -Wstrict-prototypes,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CFLAGS)) 1480 if "$(VBOX_VCC_TOOL_STEM)" >= "VCC141" 1481 # -wd4777: glsl_shader.c(1542): warning C4777: 'sprintf' : format string '%u' requires an argument of type 'unsigned int', but variadic argument 2 has type 'DWORD' 1482 TEMPLATE_VBoxSVGA3D_CFLAGS.win = $(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CFLAGS.win) \ 1483 -wd4777 1484 endif 1476 1485 TEMPLATE_VBoxSVGA3D_CXXFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_CXXFLAGS)) 1477 1486 TEMPLATE_VBoxSVGA3D_OBJCFLAGS = $(filter-out -pedantic,$(TEMPLATE_$(TEMPLATE_VBoxSVGA3D_EXTENDS)_OBJCFLAGS)) … … 1488 1497 VBoxSVGA3D_DEFS = \ 1489 1498 __WINESRC__ \ 1490 WINE_UNICODE_API="" \1491 1499 _REENTRANT \ 1492 1500 WINE_NOWINSOCK \ 1493 1501 VBOX_WITH_VMSVGA \ 1494 1502 VBOX_WITH_VMSVGA3D \ 1503 _USE_MATH_DEFINES \ 1504 VBOX_USING_WINDDK_W7_OR_LATER \ 1505 VBOX_WINE_WITH_SINGLE_SWAPCHAIN_CONTEXT \ 1506 IN_vmsvgashader_STATIC \ 1507 IN_VMSVGA3D \ 1508 VBOX_WINE_WITH_IPRT 1509 ifdef VBOX_WITH_AUTOMATIC_DEFS_QUOTING 1510 VBoxSVGA3D_DEFS += \ 1511 WINE_UNICODE_API= \ 1512 DLLDIR="" \ 1513 BINDIR="" \ 1514 LIB_TO_BINDIR="" \ 1515 LIB_TO_DLLDIR="" \ 1516 BIN_TO_DLLDIR="" \ 1517 LIB_TO_DATADIR="" \ 1518 BIN_TO_DATADIR="" 1519 else 1520 VBoxSVGA3D_DEFS += \ 1521 WINE_UNICODE_API="" \ 1495 1522 DLLDIR=\"\" \ 1496 1523 BINDIR=\"\" \ … … 1499 1526 BIN_TO_DLLDIR=\"\" \ 1500 1527 LIB_TO_DATADIR=\"\" \ 1501 BIN_TO_DATADIR=\"\" \ 1502 _USE_MATH_DEFINES \ 1503 VBOX_USING_WINDDK_W7_OR_LATER \ 1504 VBOX_WINE_WITH_SINGLE_SWAPCHAIN_CONTEXT \ 1505 IN_vmsvgashader_STATIC \ 1506 IN_VMSVGA3D \ 1507 VBOX_WINE_WITH_IPRT 1528 BIN_TO_DATADIR=\"\" 1529 endif 1508 1530 if "$(KBUILD_TYPE)" != "debug" || defined(VBOX_WINE_NO_DEBUG_MSGS) 1509 1531 VBoxSVGA3D_DEFS += WINE_NO_DEBUG_MSGS
Note:
See TracChangeset
for help on using the changeset viewer.