- Add TAG definition to be compatible with GCC multicharacter constants.
authorAleksey Bragin <aleksey@reactos.org>
Fri, 23 Jan 2009 10:09:22 +0000 (10:09 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Fri, 23 Jan 2009 10:09:22 +0000 (10:09 +0000)
- Change FAT_NTC_VCB to a TAG-based definition.

svn path=/trunk/; revision=39032

reactos/drivers/filesystems/fastfat_new/fastfat.h
reactos/drivers/filesystems/fastfat_new/fatstruc.h

index 188ba5f..dbb5ddd 100644 (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>
 
index d8a7813..abbb180 100644 (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
 {