From ea484badec3a2a57b4ad5b79c3dbe7e599c66e77 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 23 Jan 2009 10:09:22 +0000 Subject: [PATCH] - Add TAG definition to be compatible with GCC multicharacter constants. - Change FAT_NTC_VCB to a TAG-based definition. svn path=/trunk/; revision=39032 --- reactos/drivers/filesystems/fastfat_new/fastfat.h | 5 +++++ reactos/drivers/filesystems/fastfat_new/fatstruc.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/reactos/drivers/filesystems/fastfat_new/fastfat.h b/reactos/drivers/filesystems/fastfat_new/fastfat.h index 188ba5fc316..dbb5dddc9a6 100644 --- a/reactos/drivers/filesystems/fastfat_new/fastfat.h +++ b/reactos/drivers/filesystems/fastfat_new/fastfat.h @@ -2,6 +2,11 @@ #include #include #include + +#ifndef TAG +#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24)) +#endif + #include #include diff --git a/reactos/drivers/filesystems/fastfat_new/fatstruc.h b/reactos/drivers/filesystems/fastfat_new/fatstruc.h index d8a7813e938..abbb18013e4 100644 --- a/reactos/drivers/filesystems/fastfat_new/fatstruc.h +++ b/reactos/drivers/filesystems/fastfat_new/fatstruc.h @@ -78,7 +78,8 @@ typedef struct _FAT_METHODS { PFAT_SETFAT_VALUE_RUN_ROUTINE SetValueRun; } FAT_METHODS, *PFAT_METHODS; -#define FAT_NTC_VCB (USHORT) 'VF' +#define FAT_NTC_VCB (USHORT)TAG('F', 'V', 0, 0); + /* Volume Control Block */ typedef struct _VCB {