mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56: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
|
@ -11,7 +11,11 @@ add_library(vga SHARED ${CMAKE_CURRENT_BINARY_DIR}/vga_vga.h.gch ${SOURCE})
|
|||
|
||||
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")
|
||||
endif()
|
||||
|
||||
set_module_type(vga kernelmodedriver)
|
||||
add_importlibs(vga videoprt)
|
||||
|
|
|
@ -846,11 +846,11 @@ Return Value:
|
|||
|
||||
case IOCTL_VIDEO_QUERY_PUBLIC_ACCESS_RANGES:
|
||||
{
|
||||
VideoDebugPrint((2, "VgaStartIO - Query Public Address Ranges\n"));
|
||||
|
||||
PVIDEO_PUBLIC_ACCESS_RANGES portAccess;
|
||||
ULONG physicalPortLength;
|
||||
|
||||
VideoDebugPrint((2, "VgaStartIO - Query Public Address Ranges\n"));
|
||||
|
||||
if (RequestPacket->OutputBufferLength <
|
||||
sizeof(VIDEO_PUBLIC_ACCESS_RANGES))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue