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);