]> mj.ucw.cz Git - libucw.git/commitdiff
Define FASTBUF_BYTES_PER_(O|P).
authorMartin Mares <mj@ucw.cz>
Sat, 3 Mar 2001 17:22:16 +0000 (17:22 +0000)
committerMartin Mares <mj@ucw.cz>
Sat, 3 Mar 2001 17:22:16 +0000 (17:22 +0000)
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