/* exported to allow conversion of error code to string for compress() and *uncompress()
*/ constchar * ZEXPORT zError(int err) { return ERR_MSG(err);
}
#ifdefined(_WIN32_WCE) && _WIN32_WCE < 0x800 /* The older Microsoft C Run-Time Library for Windows CE doesn't have *errno.Wedefineitasaglobalvariabletosimplifyporting. *Itsvalueisalways0andshouldnotbeused.
*/ int errno = 0; #endif
#ifndef HAVE_MEMCPY
void ZLIB_INTERNAL zmemcpy(Bytef* dest, const Bytef* source, uInt len) { if (len == 0) return; do {
*dest++ = *source++; /* ??? to be unrolled */
} while (--len != 0);
}
for (j = 0; j < len; j++) { if (s1[j] != s2[j]) return2*(s1[j] > s2[j])-1;
} return0;
}
void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len) { if (len == 0) return; do {
*dest++ = 0; /* ??? to be unrolled */
} while (--len != 0);
} #endif
#ifndef Z_SOLO
#ifdef SYS16BIT
#ifdef __TURBOC__ /* Turbo C in 16-bit mode */
# define MY_ZCALLOC
/* Turbo C malloc() does not allow dynamic allocation of 64K bytes *andfarmalloc(64K)returnsapointerwithanoffsetof8,sowe *mustfixthepointer.Warning:thepointermustbeputbacktoits *originalforminordertofreeit,usezcfree().
*/
local ptr_table table[MAX_PTR]; /* This table is used to remember the original form of pointers *tolargebuffers(64K).Suchpointersarenormalizedwithazerooffset. *SinceMSDOSisnotapreemptivemultitaskingOS,thistableisnot *protectedfromconcurrentaccess.Thishackdoesn'tworkanywayon *aprotectedsystemlikeOS/2.UseMicrosoftCinstead.
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.