-/* $Id: direntry.c,v 1.7 2002/09/07 15:12:03 chorns Exp $
+/* $Id: direntry.c,v 1.8 2002/09/08 10:22:12 chorns Exp $
*
*
* FILE: DirEntry.c
#include "vfat.h"
-#define CACHEPAGESIZE(pDeviceExt) ((pDeviceExt)->FatInfo.BytesPerCluster > PAGE_SIZE ? \
- (pDeviceExt)->FatInfo.BytesPerCluster : PAGE_SIZE)
+#define CACHEPAGESIZE(pDeviceExt) ((pDeviceExt)->FatInfo.BytesPerCluster > PAGESIZE ? \
+ (pDeviceExt)->FatInfo.BytesPerCluster : PAGESIZE)
#define ENTRIES_PER_CACHEPAGE(pDeviceExt) (ENTRIES_PER_SECTOR * \
(CACHEPAGESIZE(pDeviceExt) / ((pDeviceExt)->FatInfo.BytesPerSector)))