give __readmem__ its own #ifndef

master
leitner 4 years ago
parent 32eb43f99c
commit 48f36eb580

@ -19,6 +19,10 @@ extern "C" {
#define __readmemsz__(a,b) #define __readmemsz__(a,b)
#endif #endif
#ifndef __readmem__
#define __readmem__(a)
#endif
/* byte_chr returns the smallest integer i between 0 and len-1 /* byte_chr returns the smallest integer i between 0 and len-1
* inclusive such that one[i] equals needle, or len if not found. */ * inclusive such that one[i] equals needle, or len if not found. */
__readmemsz__(1,2) __readmemsz__(1,2)

Loading…
Cancel
Save