Comment a use of __attribute__((visibility("protected"))). (#204)

This comments out a use of "protected" visibility, since
[WebAssembly doesn't support it].

[WebAssembly doesn't support it]: https://reviews.llvm.org/D81688
This commit is contained in:
Dan Gohman 2020-06-12 20:21:12 -07:00 committed by GitHub
parent 4e45d2b5ad
commit 00cc5944df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);