[FS_REC]: Guard against ROUND_UP/DOWN already being defined.

svn path=/trunk/; revision=69442
This commit is contained in:
Alex Ionescu 2015-10-04 17:14:24 +00:00
parent 6c476394c7
commit bde25860e7

View file

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