From a99b2db925c11eff798063e211fe19e7082315d2 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 9 Sep 2005 16:32:26 +0000 Subject: [PATCH] my_GlobalAlloc no longer reduces the size git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4256 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/7zip/LZMADecode.h | 2 +- Source/exehead/util.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/7zip/LZMADecode.h b/Source/7zip/LZMADecode.h index 78bdfb7e..aad361dc 100644 --- a/Source/7zip/LZMADecode.h +++ b/Source/7zip/LZMADecode.h @@ -20,7 +20,7 @@ Converted to a state machine by Amir Szekely /* It can increase speed on some 32-bit CPUs, but memory usage will be doubled in that case */ -#define lzmaalloc my_GlobalAlloc +#define lzmaalloc(bytes) GlobalAlloc(GPTR,bytes) #define lzmafree GlobalFree /*********************** diff --git a/Source/exehead/util.h b/Source/exehead/util.h index f285646a..8315cd57 100644 --- a/Source/exehead/util.h +++ b/Source/exehead/util.h @@ -53,7 +53,6 @@ extern char g_log_file[1024]; HANDLE NSISCALL myCreateProcess(char *cmd, char *dir); int NSISCALL my_MessageBox(const char *text, UINT type); -void * NSISCALL my_GlobalAlloc(DWORD dwBytes); void NSISCALL myDelete(char *buf, int flags);