the glibc case of the new __writememsz__ and friends macros broke

This commit is contained in:
Felix von Leitner 2020-04-05 20:19:11 +00:00
parent a9b2cc59aa
commit 782cbd81b4
1 changed files with 4 additions and 0 deletions

View File

@ -16,7 +16,11 @@ extern "C" {
/* dietlibc defines these in sys/cdefs.h, which is included from stddef.h */
#ifndef __writememsz__
#define __writememsz__(a,b)
#endif
#ifndef __readmemsz__
#define __readmemsz__(a,b)
#endif
#ifndef __readmem__
#define __readmem__(a)
#endif