Fixed the 32-bit detecting 64-bit improvement.
This commit is contained in:
parent
0394977368
commit
5e7590e3a9
@ -78,7 +78,7 @@
|
||||
don't write the reset sequence if output is redirected.
|
||||
*/
|
||||
|
||||
#define PDATE L"20 September, 2013"
|
||||
#define PDATE L"21 September, 2013"
|
||||
|
||||
#include "ansicon.h"
|
||||
#include "version.h"
|
||||
|
@ -84,7 +84,7 @@ int ProcessType( LPPROCESS_INFORMATION pinfo, BOOL* gui )
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef _WIN32
|
||||
#ifndef _WIN64
|
||||
// If a 32-bit process loads a 64-bit one, we may miss the base
|
||||
// address. If the pointer overflows, assume 64-bit.
|
||||
if (((DWORD)ptr >> 12) + ((DWORD)minfo.RegionSize >> 12) > 0x80000)
|
||||
|
Loading…
x
Reference in New Issue
Block a user