From c4bce0e653fbb073e18faabd96c9fff8db5b4259 Mon Sep 17 00:00:00 2001 From: Lars Brinkhoff Date: Tue, 19 Nov 2019 10:38:41 +0100 Subject: [PATCH] Define halves() for old C compiler which doesn't have it built in. --- src/stinkr/s.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/stinkr/s.h b/src/stinkr/s.h index 6c152f61..d6200435 100644 --- a/src/stinkr/s.h +++ b/src/stinkr/s.h @@ -84,6 +84,8 @@ typedef struct _progent progent; # define wright(w) ((w)&0777777) # define wcons(l,r) (((l)<<18)|((r)&0777777)) +# define halves(_LH,_RH) (((_LH) << 18) | (_RH)) + # define LHALF halves (0777777, 0) # define RHALF 0777777 # define ACFIELD halves (0740, 0)