Fix for Win32 build.

This commit is contained in:
Andy McFadden 2002-10-11 01:19:25 +00:00
parent bd3eef768e
commit 1c13da384c

View File

@ -85,7 +85,7 @@ Nu_LZC_emalloc(NuArchive* pArchive, unsigned int x, int y)
static inline void static inline void
Nu_LZC_efree(NuArchive* pArchive, ALLOCTYPE FAR * ptr) Nu_LZC_efree(NuArchive* pArchive, ALLOCTYPE FAR * ptr)
{ {
return Nu_Free(pArchive, ptr); Nu_Free(pArchive, ptr);
} }
/*@H************************ < COMPRESS API > **************************** /*@H************************ < COMPRESS API > ****************************
@ -260,7 +260,7 @@ static CONST INTCODE gNu_mc[] = {
#endif #endif
#else #else
#define allocx(type,ptr,size) \ #define allocx(type,ptr,size) \
(((ptr) = (type FAR *) Nu_LZC_emalloc(, pArchive, (unsigned int)(size),sizeof(type))) == NULLPTR(type) \ (((ptr) = (type FAR *) Nu_LZC_emalloc(pArchive, (unsigned int)(size),sizeof(type))) == NULLPTR(type) \
? NOMEM : OK \ ? NOMEM : OK \
) )
#endif #endif