mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +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
|
||||
|
||||
/* 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
|
||||
|
|
Loading…
Reference in a new issue