Fix libzpaq compilation on other non-win32 OSs.

This commit is contained in:
Con Kolivas 2012-07-07 22:13:15 +10:00
parent 00236b16cb
commit ee08f310da

View file

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