projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
e7e6699
)
- Add more padding so our gcc compatible C_ASSERT doesn't conflict with ntoskrnl.h
author
Stefan Ginsberg
<stefanginsberg@gmail.com>
Sun, 27 Sep 2009 20:17:52 +0000
(20:17 +0000)
committer
Stefan Ginsberg
<stefanginsberg@gmail.com>
Sun, 27 Sep 2009 20:17:52 +0000
(20:17 +0000)
svn path=/trunk/; revision=43193
reactos/ntoskrnl/mm/pe.c
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/mm/pe.c
b/reactos/ntoskrnl/mm/pe.c
index
7b7e5d3
..
d545b49
100644
(file)
--- a/
reactos/ntoskrnl/mm/pe.c
+++ b/
reactos/ntoskrnl/mm/pe.c
@@
-46,10
+46,6
@@
static __inline BOOLEAN Intsafe_CanAddULongPtr(IN ULONG_PTR Addend1, IN ULONG_PT
return Addend1 <= (MAXULONG_PTR - Addend2);
}
-#ifndef MAXLONGLONG
-#define MAXLONGLONG ((LONGLONG)((~((ULONGLONG)0)) >> 1))
-#endif
-
static __inline BOOLEAN Intsafe_CanAddLong64(IN LONG64 Addend1, IN LONG64 Addend2)
{
return Addend1 <= (MAXLONGLONG - Addend2);
@@
-149,6
+145,8
@@
static __inline BOOLEAN AlignUp(OUT PULONG AlignedAddress, IN ULONG Address, IN
+
+
@@
-184,6
+182,8
@@
static __inline BOOLEAN AlignUp(OUT PULONG AlignedAddress, IN ULONG Address, IN
+
+