From: Hermès Bélusca-Maïto Date: Sat, 16 Dec 2017 21:48:11 +0000 (+0100) Subject: [VFDLIB] Fix preprocessor directive compilation error when being used inside a macro... X-Git-Tag: 0.4.9-dev~663 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=acabbb7b8595ca5794fc0dfffc16c052fb4c0e72 [VFDLIB] Fix preprocessor directive compilation error when being used inside a macro expansion on MSVC. --- diff --git a/modules/rosapps/lib/vfdlib/vfdctl.c b/modules/rosapps/lib/vfdlib/vfdctl.c index 54c3320e390..69f8cd5abd5 100644 --- a/modules/rosapps/lib/vfdlib/vfdctl.c +++ b/modules/rosapps/lib/vfdlib/vfdctl.c @@ -2928,13 +2928,14 @@ DWORD WINAPI VfdCheckDriverFile( fixedinfo->dwFileType != VFT_DRV || fixedinfo->dwFileSubtype != VFT2_DRV_SYSTEM) { - VFDTRACE(0, #ifndef __REACTOS__ + VFDTRACE(0, (FUNC ": Invalid file type flags\n")); #else + VFDTRACE(0, (FUNC ": Invalid file type flags. os: %x (%x), type: %x (%x), subtype: %x (%x)\n", - fixedinfo->dwFileOS, VOS_NT_WINDOWS32, fixedinfo->dwFileType, VFT_DRV, - fixedinfo->dwFileSubtype, VFT2_DRV_SYSTEM)); + fixedinfo->dwFileOS, VOS_NT_WINDOWS32, fixedinfo->dwFileType, VFT_DRV, + fixedinfo->dwFileSubtype, VFT2_DRV_SYSTEM)); #endif ret = ERROR_BAD_DRIVER;