diff --git a/drivers/filesystems/fastfat_new/dirsup.c b/drivers/filesystems/fastfat_new/dirsup.c index 71689e8d902..8ca1f6ad532 100644 --- a/drivers/filesystems/fastfat_new/dirsup.c +++ b/drivers/filesystems/fastfat_new/dirsup.c @@ -1991,7 +1991,11 @@ Return Value: ULONG ByteOffset; PDIRENT Dirent; +#ifndef __REACTOS__ BOOLEAN IsDirectoryEmpty; +#else + BOOLEAN IsDirectoryEmpty = FALSE; +#endif NTSTATUS Status; diff --git a/drivers/filesystems/fastfat_new/fatdata.h b/drivers/filesystems/fastfat_new/fatdata.h index 0d0493f4e7d..4d8aa2eeeb7 100644 --- a/drivers/filesystems/fastfat_new/fatdata.h +++ b/drivers/filesystems/fastfat_new/fatdata.h @@ -243,7 +243,7 @@ extern LONG FatDebugTraceIndent; } #define DebugUnwind(X) { \ - if (AbnormalTermination()) { \ + if (_SEH2_AbnormalTermination()) { \ DebugTrace(0, DEBUG_TRACE_UNWIND, #X ", Abnormal termination.\n", 0); \ } \ } diff --git a/drivers/filesystems/fastfat_new/pnp.c b/drivers/filesystems/fastfat_new/pnp.c index 9604a961e8b..26a9ed533f8 100644 --- a/drivers/filesystems/fastfat_new/pnp.c +++ b/drivers/filesystems/fastfat_new/pnp.c @@ -22,6 +22,10 @@ Abstract: #define BugCheckFileId (FAT_BUG_CHECK_PNP) +#ifdef __REACTOS__ +#define Dbg (DEBUG_TRACE_PNP) +#endif + NTSTATUS FatPnpQueryRemove ( PIRP_CONTEXT IrpContext,