X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Ffastbuf.h;h=cd08fa8a9b88839800729f81cde5141850d2cbd8;hb=995458e48d482bd5fa349882fba5cb4d6350076d;hp=d831ed36153a877f27d0cf5f9cb85d90ac615604;hpb=8d7ea15cf2d519e6f6cae540bdaeeee7fbc82acc;p=libucw.git diff --git a/lib/fastbuf.h b/lib/fastbuf.h index d831ed36..cd08fa8a 100644 --- a/lib/fastbuf.h +++ b/lib/fastbuf.h @@ -340,11 +340,15 @@ void bdirect_write_commit(struct fastbuf *f, byte *pos); #define bputo(f,l) bput5(f,l) #define bgetp(f) bgetq(f) #define bputp(f,l) bputq(f,l) +#define FASTBUF_BYTES_PER_O 5 +#define FASTBUF_BYTES_PER_P 8 #else #define bgeto(f) bgetl(f) #define bputo(f,l) bputl(f,l) #define bgetp(f) bgetl(f) #define bputp(f,l) bputl(f,l) +#define FASTBUF_BYTES_PER_O 4 +#define FASTBUF_BYTES_PER_P 4 #endif #endif