ghost.EncodeHeader(fp);
if (m_loops!=1){
- ghost.SetLoops(max(0,m_loops-1));
+ ghost.SetLoops(__max(0,m_loops-1));
ghost.EncodeLoopExtension(fp);
}
////////////////////////////////////////////////////////////////////////////////
void CxImageGIF::GifMix(CxImage & imgsrc2, struct_image & imgdesc)
{
- long ymin = max(0,(long)(GetHeight()-imgdesc.t - imgdesc.h));
+ long ymin = __max(0,(long)(GetHeight()-imgdesc.t - imgdesc.h));
long ymax = GetHeight()-imgdesc.t;
long xmin = imgdesc.l;
- long xmax = min(GetWidth(), (DWORD)(imgdesc.l + imgdesc.w));
+ long xmax = __min(GetWidth(), (DWORD)(imgdesc.l + imgdesc.w));
long ibg2= imgsrc2.GetTransIndex();
BYTE i2;