mirror of
https://github.com/reactos/reactos.git
synced 2025-04-22 13:10:39 +00:00
[CLASSPNP]
Fix build with MSVC svn path=/branches/cmake-bringup/; revision=50558
This commit is contained in:
parent
2ea20c66b6
commit
e33bf5e8ba
3 changed files with 8 additions and 4 deletions
|
@ -9,8 +9,12 @@ add_definitions(
|
|||
-DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFER_SIZE=512
|
||||
-DCLASS_GLOBAL_BUFFERED_DEBUG_PRINT_BUFFERS=512)
|
||||
|
||||
if(NOT MSVC)
|
||||
if(ARCH MATCHES i386)
|
||||
if(MSVC)
|
||||
add_definitions(/Gz)
|
||||
else()
|
||||
add_definitions(-mrtd -fno-builtin -w)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
spec2def(classpnp.sys class.spec)
|
||||
|
|
|
@ -2485,7 +2485,7 @@ ClassIoComplete(
|
|||
retry = TRUE;
|
||||
}
|
||||
|
||||
if (retry && (irpStack->Parameters.Others.Argument4--)) {
|
||||
if (retry && ((*(char*)&irpStack->Parameters.Others.Argument4)--)) {
|
||||
|
||||
//
|
||||
// Retry request.
|
||||
|
|
|
@ -161,7 +161,7 @@ ClassIoCompleteAssociated(
|
|||
retry = TRUE;
|
||||
}
|
||||
|
||||
if (retry && (irpStack->Parameters.Others.Argument4--)) {
|
||||
if (retry && ((*(char*)&irpStack->Parameters.Others.Argument4)--)) {
|
||||
|
||||
//
|
||||
// Retry request. If the class driver has supplied a StartIo,
|
||||
|
|
Loading…
Reference in a new issue