From ae9721feabb6690778d9bc6751f6a6f434cdbeaf Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Mon, 3 Jun 2002 14:01:25 +0000 Subject: [PATCH] If have GET_O and GET_P, we should have PUT_O and PUT_P as well. --- lib/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/config.h b/lib/config.h index f1a5af12..c6e7c750 100644 --- a/lib/config.h +++ b/lib/config.h @@ -57,6 +57,8 @@ typedef s64 sh_off_t; #define bputp(f,l) bputq(f,l) #define GET_O(p) GET_U40(p) #define GET_P(p) GET_U64(p) +#define PUT_O(p,x) PUT_U40(p,x) +#define PUT_P(p,x) PUT_U64(p,x) #else typedef s32 sh_off_t; #define BYTES_PER_O 4 @@ -67,6 +69,8 @@ typedef s32 sh_off_t; #define bputp(f,l) bputl(f,l) #define GET_O(p) GET_U32(p) #define GET_P(p) GET_U32(p) +#define PUT_O(p,x) PUT_U32(p,x) +#define PUT_P(p,x) PUT_U32(p,x) #endif /* Misc */ -- 2.39.2