Archive: minor patches


minor patches
For AbiWord we build NSIS as part of our build procedure, and this weekend I was updating to current NSIS cvs.

Anyway, to get it to build, I have to apply the following 2 patches, which I was wondering if it would be possible to incorporate in the main NSIS cvs tree or perhaps you have better workarounds. Thanks.

Contrib/InstallOptions/InstallerOptions.cpp
-------------------------------------------
add support for IDC_HAND, similar to what is done in ui.c, ie just
before call that uses IDC_HAND add

#ifndef IDC_HAND
#define IDC_HAND MAKEINTRESOURCE(32649)
#endif


7zip/7zGuids.cpp
----------------
add #define INITGUID, this works around a quirk where VC6 headers differ than the SDKs, without it some GUIDs can't be found during the link, which I think is related to the redifinition warning generated without this small hack.

#include <initguid.h>
#define INITGUID
#include "7zip/ICoder.h"

Thanks for the consideration,
Jeremy


Done and done. Thanks.