- Add TAG definition to be compatible with GCC multicharacter constants.

- Change FAT_NTC_VCB to a TAG-based definition.

svn path=/trunk/; revision=39032
This commit is contained in:
Aleksey Bragin 2009-01-23 10:09:22 +00:00
parent 7f06a44898
commit ea484badec
2 changed files with 7 additions and 1 deletions

View file

@ -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>

View file

@ -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
{