#1753070: Enable that makensis and its related utilities can be built natively for 64-bit systems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6040 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
b402798885
commit
8ab72b9ece
20 changed files with 133 additions and 73 deletions
|
@ -29,7 +29,7 @@
|
|||
|
||||
#include "Platform.h"
|
||||
#ifdef _WIN32
|
||||
#include <WinNT.h>
|
||||
#include <winnt.h>
|
||||
#else
|
||||
// all definitions for non Win32 platforms were taken from MinGW's free Win32 library
|
||||
# define IMAGE_DIRECTORY_ENTRY_RESOURCE 2
|
||||
|
@ -159,7 +159,7 @@ private:
|
|||
CResourceDirectory* ScanDirectory(PRESOURCE_DIRECTORY rdRoot, PRESOURCE_DIRECTORY rdToScan);
|
||||
|
||||
void WriteRsrcSec(BYTE* pbRsrcSec);
|
||||
void SetOffsets(CResourceDirectory* resDir, DWORD newResDirAt);
|
||||
void SetOffsets(CResourceDirectory* resDir, ULONG_PTR newResDirAt);
|
||||
|
||||
DWORD AdjustVA(DWORD dwVirtualAddress, DWORD dwAdjustment);
|
||||
DWORD AlignVA(DWORD dwVirtualAddress);
|
||||
|
@ -183,7 +183,7 @@ public:
|
|||
|
||||
void Destroy();
|
||||
|
||||
DWORD m_dwWrittenAt;
|
||||
ULONG_PTR m_ulWrittenAt;
|
||||
|
||||
private:
|
||||
IMAGE_RESOURCE_DIRECTORY m_rdDir;
|
||||
|
@ -207,7 +207,7 @@ public:
|
|||
|
||||
CResourceDataEntry* GetDataEntry();
|
||||
|
||||
DWORD m_dwWrittenAt;
|
||||
ULONG_PTR m_ulWrittenAt;
|
||||
|
||||
private:
|
||||
bool m_bHasName;
|
||||
|
@ -235,7 +235,7 @@ public:
|
|||
DWORD GetCodePage();
|
||||
DWORD GetOffset();
|
||||
|
||||
DWORD m_dwWrittenAt;
|
||||
ULONG_PTR m_ulWrittenAt;
|
||||
|
||||
private:
|
||||
BYTE* m_pbData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue