Author: fireball Date: Fri Jan 23 04:09:22 2009 New Revision: 39032
URL: http://svn.reactos.org/svn/reactos?rev=39032&view=rev Log: - Add TAG definition to be compatible with GCC multicharacter constants. - Change FAT_NTC_VCB to a TAG-based definition.
Modified: trunk/reactos/drivers/filesystems/fastfat_new/fastfat.h trunk/reactos/drivers/filesystems/fastfat_new/fatstruc.h
Modified: trunk/reactos/drivers/filesystems/fastfat_new/fastfat.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat... ============================================================================== --- trunk/reactos/drivers/filesystems/fastfat_new/fastfat.h [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat_new/fastfat.h [iso-8859-1] Fri Jan 23 04:09:22 2009 @@ -2,6 +2,11 @@ #include <ntdddisk.h> #include <reactos/helper.h> #include <debug.h> + +#ifndef TAG +#define TAG(A, B, C, D) (ULONG)(((A)<<0) + ((B)<<8) + ((C)<<16) + ((D)<<24)) +#endif + #include <fat.h> #include <fatstruc.h>
Modified: trunk/reactos/drivers/filesystems/fastfat_new/fatstruc.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fastfat... ============================================================================== --- trunk/reactos/drivers/filesystems/fastfat_new/fatstruc.h [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fastfat_new/fatstruc.h [iso-8859-1] Fri Jan 23 04:09:22 2009 @@ -78,7 +78,8 @@ 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 {