mirror of
https://github.com/reactos/reactos.git
synced 2026-09-19 16:19:27 +08:00
Fix b0rked macros
svn path=/branches/powerpc/; revision=24161
This commit is contained in:
@@ -2305,17 +2305,17 @@ NdisDestroyLookaheadBufferFromSharedMemory(
|
||||
#else
|
||||
|
||||
#define NdisMoveMappedMemory(Destination, Source, Length) \
|
||||
{
|
||||
PUCHAR _Dest = Destination, _Src = Source, _End = _Dest + Length;
|
||||
while (_Dest < _End)
|
||||
*_Dest++ = _Src++;
|
||||
{ \
|
||||
PUCHAR _Dest = Destination, _Src = Source, _End = _Dest + Length; \
|
||||
while (_Dest < _End) \
|
||||
*_Dest++ = _Src++; \
|
||||
}
|
||||
|
||||
#define NdisZeroMappedMemory(Destination, Length) \
|
||||
{
|
||||
PUCHAR _Dest = Destination, _End = _Dest + Length;
|
||||
while (_Dest < _End)
|
||||
*_Dest++ = 0;
|
||||
{ \
|
||||
PUCHAR _Dest = Destination, _End = _Dest + Length; \
|
||||
while (_Dest < _End) \
|
||||
*_Dest++ = 0; \
|
||||
}
|
||||
|
||||
#endif /* _M_IX86 or _M_AMD64 */
|
||||
|
||||
Reference in New Issue
Block a user