From d1c5ef3af75fadf9c270e985641b0771b363c043 Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 21 Dec 2003 21:00:37 +0000 Subject: [PATCH] patches by PerditionC for compatibly with PSDK-less VC6 git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3295 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/InstallOptions/InstallerOptions.cpp | 5 +++++ Source/7zip/7zGuids.cpp | 3 +++ 2 files changed, 8 insertions(+) diff --git a/Contrib/InstallOptions/InstallerOptions.cpp b/Contrib/InstallOptions/InstallerOptions.cpp index fe5a5d70..5b5cd5ee 100644 --- a/Contrib/InstallOptions/InstallerOptions.cpp +++ b/Contrib/InstallOptions/InstallerOptions.cpp @@ -779,6 +779,11 @@ BOOL CALLBACK cfgDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) } #ifdef IO_ENABLE_LINK + +#ifndef IDC_HAND +#define IDC_HAND MAKEINTRESOURCE(32649) +#endif + // pFields[nIdx].nParentIdx is used to store original windowproc int WINAPI StaticLINKWindowProc(HWND hWin, UINT uMsg, LPARAM wParam, WPARAM lParam) { diff --git a/Source/7zip/7zGuids.cpp b/Source/7zip/7zGuids.cpp index bd5f9398..a8cd57db 100644 --- a/Source/7zip/7zGuids.cpp +++ b/Source/7zip/7zGuids.cpp @@ -4,6 +4,9 @@ #include #include +#ifndef INITGUID +#define INITGUID +#endif #include "7zip/ICoder.h" #include "7zip/Compress/LZ/IMatchFinder.h"