diff --git a/libc-top-half/musl/src/internal/stdio_impl.h b/libc-top-half/musl/src/internal/stdio_impl.h index 3eb420b..537e7a2 100644 --- a/libc-top-half/musl/src/internal/stdio_impl.h +++ b/libc-top-half/musl/src/internal/stdio_impl.h @@ -89,9 +89,11 @@ hidden int __towrite(FILE *); hidden void __stdio_exit(void); hidden void __stdio_exit_needed(void); +#ifdef __wasilibc_unmodified_upstream // wasm has no "protected" visibility #if defined(__PIC__) && (100*__GNUC__+__GNUC_MINOR__ >= 303) __attribute__((visibility("protected"))) #endif +#endif int __overflow(FILE *, int), __uflow(FILE *); hidden int __fseeko(FILE *, off_t, int);