Browse Source

the glibc case of the new __writememsz__ and friends macros broke

master
Felix von Leitner 4 months ago
parent
commit
782cbd81b4
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      buffer.h

+ 4
- 0
buffer.h 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



Loading…
Cancel
Save