mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
[FS_REC]: Guard against ROUND_UP/DOWN already being defined.
svn path=/trunk/; revision=69442
This commit is contained in:
parent
6c476394c7
commit
bde25860e7
1 changed files with 2 additions and 0 deletions
|
@ -20,11 +20,13 @@
|
||||||
#define UDFS_AVDP_SECTOR 256
|
#define UDFS_AVDP_SECTOR 256
|
||||||
|
|
||||||
/* Non-standard rounding macros */
|
/* Non-standard rounding macros */
|
||||||
|
#ifndef ROUND_UP
|
||||||
#define ROUND_UP(n, align) \
|
#define ROUND_UP(n, align) \
|
||||||
ROUND_DOWN(((ULONG)n) + (align) - 1, (align))
|
ROUND_DOWN(((ULONG)n) + (align) - 1, (align))
|
||||||
|
|
||||||
#define ROUND_DOWN(n, align) \
|
#define ROUND_DOWN(n, align) \
|
||||||
(((ULONG)n) & ~((align) - 1l))
|
(((ULONG)n) & ~((align) - 1l))
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Conversion types and macros taken from internal ntifs headers */
|
/* Conversion types and macros taken from internal ntifs headers */
|
||||||
typedef union _UCHAR1
|
typedef union _UCHAR1
|
||||||
|
|
Loading…
Reference in a new issue