mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 02:37:06 +00:00
Add a hack to fix the build.
Timo, can you revert this and add the missing macro when you can please. svn path=/trunk/; revision=28897
This commit is contained in:
parent
fae293c143
commit
e995f11cfd
|
@ -364,7 +364,7 @@ GDIOBJ_AllocObj(PGDI_HANDLE_TABLE HandleTable, ULONG ObjectType)
|
|||
|
||||
ASSERT(ObjectType != GDI_OBJECT_TYPE_DONTCARE);
|
||||
|
||||
TypeIndex = GDI_OBJECT_GET_TYPE_INDEX(ObjectType);
|
||||
TypeIndex = 0; //GDI_OBJECT_GET_TYPE_INDEX(ObjectType);
|
||||
if (ObjTypeInfo[TypeIndex].bUseLookaside)
|
||||
{
|
||||
LookasideList = FindLookasideList(HandleTable, TypeIndex);
|
||||
|
@ -583,7 +583,7 @@ LockHandle:
|
|||
}
|
||||
|
||||
/* call the cleanup routine. */
|
||||
TypeIndex = GDI_OBJECT_GET_TYPE_INDEX(HandleType);
|
||||
TypeIndex = 0; //GDI_OBJECT_GET_TYPE_INDEX(HandleType);
|
||||
Ret = RunCleanupCallback(GDIHdrToBdy(GdiHdr), TypeIndex);
|
||||
|
||||
/* Now it's time to free the memory */
|
||||
|
|
Loading…
Reference in a new issue