2 * THIS FILE IS NOT IDENTICAL TO THE ORIGINAL
3 * FROM THE BZIP2 DISTRIBUTION.
5 * It has been modified, mainly to break the library
9 * rsc@plan9.bell-labs.com
13 extern void BZ2_bz__AssertH__fail ( int errcode );
15 /* undo definitions in bzlib_private.h */
25 #define AssertH(cond,errcode) \
26 { if (!(cond)) BZ2_bz__AssertH__fail ( errcode ); }
28 #define AssertD(cond,msg) \
31 "\n\nlibbzip2(debug build): internal error\n\t%s\n", msg );\
35 #define AssertD(cond,msg) /* */
37 #define VPrintf0(zf) \
39 #define VPrintf1(zf,za1) \
40 fprintf(stderr,zf,za1)
41 #define VPrintf2(zf,za1,za2) \
42 fprintf(stderr,zf,za1,za2)
43 #define VPrintf3(zf,za1,za2,za3) \
44 fprintf(stderr,zf,za1,za2,za3)
45 #define VPrintf4(zf,za1,za2,za3,za4) \
46 fprintf(stderr,zf,za1,za2,za3,za4)
47 #define VPrintf5(zf,za1,za2,za3,za4,za5) \
48 fprintf(stderr,zf,za1,za2,za3,za4,za5)
50 #define BZ_SETERR(eee) \
52 if (bzerror != NULL) *bzerror = eee; \
53 if (bzf != NULL) bzf->lastErr = eee; \
59 Char buf[BZ_MAX_UNUSED];
68 extern Bool bz_feof( FILE* );