[FASTFAT_NEW] Fix build with FASTFATDBG set

This commit is contained in:
Pierre Schweitzer 2017-11-23 14:18:15 +01:00
parent 09c06a2f45
commit f15769d958
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
3 changed files with 9 additions and 1 deletions

View file

@ -1991,7 +1991,11 @@ Return Value:
ULONG ByteOffset;
PDIRENT Dirent;
#ifndef __REACTOS__
BOOLEAN IsDirectoryEmpty;
#else
BOOLEAN IsDirectoryEmpty = FALSE;
#endif
NTSTATUS Status;

View file

@ -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); \
} \
}

View file

@ -22,6 +22,10 @@ Abstract:
#define BugCheckFileId (FAT_BUG_CHECK_PNP)
#ifdef __REACTOS__
#define Dbg (DEBUG_TRACE_PNP)
#endif
NTSTATUS
FatPnpQueryRemove (
PIRP_CONTEXT IrpContext,