mirror of
https://github.com/fadden/nulib2.git
synced 2024-06-08 19:29:31 +00:00
Fix for Win32 build.
This commit is contained in:
parent
bd3eef768e
commit
1c13da384c
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user