mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-07-27 03:18:21 +00:00
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:
parent
4e45d2b5ad
commit
00cc5944df
@ -89,9 +89,11 @@ hidden int __towrite(FILE *);
|
|||||||
hidden void __stdio_exit(void);
|
hidden void __stdio_exit(void);
|
||||||
hidden void __stdio_exit_needed(void);
|
hidden void __stdio_exit_needed(void);
|
||||||
|
|
||||||
|
#ifdef __wasilibc_unmodified_upstream // wasm has no "protected" visibility
|
||||||
#if defined(__PIC__) && (100*__GNUC__+__GNUC_MINOR__ >= 303)
|
#if defined(__PIC__) && (100*__GNUC__+__GNUC_MINOR__ >= 303)
|
||||||
__attribute__((visibility("protected")))
|
__attribute__((visibility("protected")))
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
int __overflow(FILE *, int), __uflow(FILE *);
|
int __overflow(FILE *, int), __uflow(FILE *);
|
||||||
|
|
||||||
hidden int __fseeko(FILE *, off_t, int);
|
hidden int __fseeko(FILE *, off_t, int);
|
||||||
|
Loading…
Reference in New Issue
Block a user