Author: ion Date: Sun Oct 4 17:14:24 2015 New Revision: 69442 URL: http://svn.reactos.org/svn/reactos?rev=69442&view=rev Log: [FS_REC]: Guard against ROUND_UP/DOWN already being defined.
Modified: trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h Modified: trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h?rev=69442&r1=69441&r2=69442&view=diff ============================================================================== --- trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/fs_rec/fs_rec.h [iso-8859-1] Sun Oct 4 17:14:24 2015 @@ -20,11 +20,13 @@ #define UDFS_AVDP_SECTOR 256 /* Non-standard rounding macros */ +#ifndef ROUND_UP #define ROUND_UP(n, align) \ ROUND_DOWN(((ULONG)n) + (align) - 1, (align)) #define ROUND_DOWN(n, align) \ (((ULONG)n) & ~((align) - 1l)) +#endif /* Conversion types and macros taken from internal ntifs headers */ typedef union _UCHAR1