mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
Fix libzpaq compilation on other non-win32 OSs.
This commit is contained in:
parent
00236b16cb
commit
ee08f310da
|
|
@ -76,7 +76,7 @@ void allocx(U8* &p, int &n, int newsize) {
|
|||
#else
|
||||
if (p || n) {
|
||||
if (p)
|
||||
#ifdef unix
|
||||
#ifndef _WIN32
|
||||
munmap(p, n);
|
||||
#else // Windows
|
||||
VirtualFree(p, 0, MEM_RELEASE);
|
||||
|
|
|
|||
Loading…
Reference in a new issue