projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c47639
)
[FS_REC]: Guard against ROUND_UP/DOWN already being defined.
author
Alex Ionescu
<aionescu@gmail.com>
Sun, 4 Oct 2015 17:14:24 +0000
(17:14 +0000)
committer
Alex Ionescu
<aionescu@gmail.com>
Sun, 4 Oct 2015 17:14:24 +0000
(17:14 +0000)
svn path=/trunk/; revision=69442
reactos/drivers/filesystems/fs_rec/fs_rec.h
patch
|
blob
|
history
diff --git
a/reactos/drivers/filesystems/fs_rec/fs_rec.h
b/reactos/drivers/filesystems/fs_rec/fs_rec.h
index
e66d588
..
207c17f
100644
(file)
--- a/
reactos/drivers/filesystems/fs_rec/fs_rec.h
+++ b/
reactos/drivers/filesystems/fs_rec/fs_rec.h
@@
-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