mirror of
https://github.com/reactos/reactos
synced 2025-10-06 00:12:51 +02:00
[PSDK] Avoid NDK include in versionhelpers.h
This commit is contained in:
@@ -145,10 +145,10 @@ IsActiveSessionCountLimited()
|
||||
}
|
||||
|
||||
#ifdef __REACTOS__
|
||||
#include <mmtypes.h>
|
||||
VERSIONHELPERAPI
|
||||
IsReactOS()
|
||||
{
|
||||
return *(UINT*)(MM_SHARED_USER_DATA_VA + PAGE_SIZE - sizeof(ULONG)) == 0x8EAC705;
|
||||
/* Hardcoded SharedUserData and PAGE_SIZE to avoid NDK includes */
|
||||
return *(UINT*)((ULONG_PTR)0x7FFE0000 + 4096 - sizeof(ULONG)) == 0x8EAC705;
|
||||
}
|
||||
#endif // __REACTOS__
|
||||
|
Reference in New Issue
Block a user