]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fastbuf.h
Introduced obuck_get_pos(), converted gatherd limits to use it.
[libucw.git] / lib / fastbuf.h
index d831ed36153a877f27d0cf5f9cb85d90ac615604..cd08fa8a9b88839800729f81cde5141850d2cbd8 100644 (file)
@@ -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