From 48f36eb5803ac3ce0cc552b66a1b301033b541cf Mon Sep 17 00:00:00 2001 From: leitner Date: Tue, 27 Oct 2020 20:43:09 +0000 Subject: [PATCH] give __readmem__ its own #ifndef --- byte.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/byte.h b/byte.h index 8224d67..a84f1aa 100644 --- a/byte.h +++ b/byte.h @@ -19,6 +19,10 @@ extern "C" { #define __readmemsz__(a,b) #endif +#ifndef __readmem__ +#define __readmem__(a) +#endif + /* byte_chr returns the smallest integer i between 0 and len-1 * inclusive such that one[i] equals needle, or len if not found. */ __readmemsz__(1,2)