From 8f0822bc5a58ad8e3765d6c879f33f954b101348 Mon Sep 17 00:00:00 2001 From: anders_k Date: Sun, 28 Jun 2020 22:02:50 +0000 Subject: [PATCH] Don't perform workaround on 98/ME git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7191 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/util.h b/Source/exehead/util.h index 51f272d2..67f96c41 100644 --- a/Source/exehead/util.h +++ b/Source/exehead/util.h @@ -69,7 +69,7 @@ void NSISCALL myRegGetStr(HKEY root, const TCHAR *sub, const TCHAR *name, TCHAR extern DWORD g_WinVer; // GetVersion() -#define IsWin95NT4() ( sizeof(void*) == 4 && LOBYTE(g_WinVer) == 0x04 ) +#define IsWin95NT4() ( sizeof(void*) == 4 && LOWORD(g_WinVer) == 0x0004 ) #define NSIS_WINVER_WOW64FLAG ( sizeof(void*) > 4 ? ( 0 ) : ( 0x40000000 ) ) #define IsWow64() ( sizeof(void*) > 4 ? ( FALSE ) : ( g_WinVer & NSIS_WINVER_WOW64FLAG ) ) #define SystemSupportsAltRegView() ( sizeof(void*) > 4 ? ( TRUE ) : ( IsWow64() ) )