mirror of
https://github.com/reactos/reactos.git
synced 2025-08-09 08:23:16 +00:00
[VGA_NEW]
Fix build with msvc svn path=/branches/cmake-bringup/; revision=50556
This commit is contained in:
parent
e3d0802c23
commit
a042b23093
2 changed files with 18 additions and 14 deletions
|
@ -11,7 +11,11 @@ add_library(vga SHARED ${CMAKE_CURRENT_BINARY_DIR}/vga_vga.h.gch ${SOURCE})
|
||||||
|
|
||||||
target_link_libraries(vga libcntpr)
|
target_link_libraries(vga libcntpr)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
set_target_properties(vga PROPERTIES COMPILE_FLAGS "/Gz")
|
||||||
|
else()
|
||||||
set_target_properties(vga PROPERTIES COMPILE_FLAGS "-mrtd -fno-builtin")
|
set_target_properties(vga PROPERTIES COMPILE_FLAGS "-mrtd -fno-builtin")
|
||||||
|
endif()
|
||||||
|
|
||||||
set_module_type(vga kernelmodedriver)
|
set_module_type(vga kernelmodedriver)
|
||||||
add_importlibs(vga videoprt)
|
add_importlibs(vga videoprt)
|
||||||
|
|
|
@ -846,11 +846,11 @@ Return Value:
|
||||||
|
|
||||||
case IOCTL_VIDEO_QUERY_PUBLIC_ACCESS_RANGES:
|
case IOCTL_VIDEO_QUERY_PUBLIC_ACCESS_RANGES:
|
||||||
{
|
{
|
||||||
VideoDebugPrint((2, "VgaStartIO - Query Public Address Ranges\n"));
|
|
||||||
|
|
||||||
PVIDEO_PUBLIC_ACCESS_RANGES portAccess;
|
PVIDEO_PUBLIC_ACCESS_RANGES portAccess;
|
||||||
ULONG physicalPortLength;
|
ULONG physicalPortLength;
|
||||||
|
|
||||||
|
VideoDebugPrint((2, "VgaStartIO - Query Public Address Ranges\n"));
|
||||||
|
|
||||||
if (RequestPacket->OutputBufferLength <
|
if (RequestPacket->OutputBufferLength <
|
||||||
sizeof(VIDEO_PUBLIC_ACCESS_RANGES))
|
sizeof(VIDEO_PUBLIC_ACCESS_RANGES))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue