- makensis should now compile on any POSIX compliment platform (Linux, *BSD, Mac OS X, etc.)

- improved makefiles so nothing is compiled when it's already up-to-date
- Added SW_HIDE to ExecShell's accepted show modes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3518 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2004-03-29 20:21:00 +00:00
parent 8567625b0e
commit 4c5f8a30eb
46 changed files with 2054 additions and 679 deletions

View file

@ -15,7 +15,8 @@ namespace BT_NAMESPACE {
#ifdef __USE_3_BYTES
#pragma pack(push, PragmaBinTree, 1)
//#pragma pack(push, PragmaBinTree, 1)
#pragma pack(1)
struct CIndex
{
@ -31,7 +32,8 @@ struct CIndex
};
const UINT32 kMaxValForNormalize = CIndex(-1);
#pragma pack(pop, PragmaBinTree)
//#pragma pack(pop, PragmaBinTree)
#pragma pack()
#else
@ -54,7 +56,8 @@ const UINT32 kMaxValForNormalize = (UINT32(1) << 31) - 1;
// #endif
#pragma pack(push, PragmaBinTreePair, 1)
//#pragma pack(push, PragmaBinTreePair, 1)
#pragma pack(1)
// #pragma pack(push, 1)
struct CPair
@ -64,7 +67,8 @@ struct CPair
};
// #pragma pack(pop)
#pragma pack(pop, PragmaBinTreePair)
//#pragma pack(pop, PragmaBinTreePair)
#pragma pack()
class CInTree: public CLZInWindow
{

View file

@ -40,13 +40,13 @@ namespace BT_NAMESPACE {
CInTree::CInTree():
_hash(0),
#ifdef HASH_ARRAY_2
_hash2(0),
#ifdef HASH_ARRAY_3
_hash3(0),
#endif
#endif
_hash(0),
_son(0),
_cutValue(0xFF)
{
@ -134,7 +134,7 @@ static const UINT32 kEmptyHashValue = 0;
HRESULT CInTree::Init(ISequentialInStream *stream)
{
RINOK(CLZInWindow::Init(stream));
int i;
unsigned int i;
for(i = 0; i < kHashSize; i++)
_hash[i] = kEmptyHashValue;

View file

@ -3,6 +3,10 @@
#ifndef __STDAFX_H
#define __STDAFX_H
#include <windows.h>
#ifdef _WIN32
# include <windows.h>
#else
# include "../../../../Platform.h"
#endif
#endif

View file

@ -254,10 +254,11 @@ public:
HRESULT Create();
MY_UNKNOWN_IMP2(
/*MY_UNKNOWN_IMP2(
ICompressSetCoderProperties,
ICompressWriteCoderProperties
)
)*/
MY_UNKNOWN_IMP
STDMETHOD(Init)(
ISequentialOutStream *outStream);

View file

@ -3,6 +3,10 @@
#ifndef __STDAFX_H
#define __STDAFX_H
#include <windows.h>
#ifdef _WIN32
# include <windows.h>
#else
# include "../../../../Platform.h"
#endif
#endif

View file

@ -3,6 +3,10 @@
#ifndef __STDAFX_H
#define __STDAFX_H
#include <windows.h>
#ifdef _WIN32
# include <windows.h>
#else
# include "../../../../Platform.h"
#endif
#endif