diff --git a/src/system/libroot/posix/glibc/libio/Jamfile b/src/system/libroot/posix/glibc/libio/Jamfile index 17d6807de3..8b8fb9032d 100644 --- a/src/system/libroot/posix/glibc/libio/Jamfile +++ b/src/system/libroot/posix/glibc/libio/Jamfile @@ -88,7 +88,7 @@ MergeObject posix_gnu_libio.o : vasprintf.c vscanf.c vsnprintf.c - wfile_stubs.c +# wfile_stubs.c # wide character @@ -115,8 +115,8 @@ MergeObject posix_gnu_libio.o : vswprintf.c vwprintf.c # vwscanf.c -# wfiledoalloc.c -# wfileops.c + wfiledoalloc.c + wfileops.c wgenops.c wprintf.c # wscanf.c diff --git a/src/system/libroot/posix/glibc/libio/wfileops.c b/src/system/libroot/posix/glibc/libio/wfileops.c index 38f6ab256e..c5ed49a528 100644 --- a/src/system/libroot/posix/glibc/libio/wfileops.c +++ b/src/system/libroot/posix/glibc/libio/wfileops.c @@ -292,6 +292,7 @@ _IO_wfile_underflow (fp) INTDEF(_IO_wfile_underflow) +#ifdef HAVE_MMAP static wint_t _IO_wfile_underflow_mmap (_IO_FILE *fp) { @@ -365,6 +366,7 @@ _IO_wfile_underflow_maybe_mmap (_IO_FILE *fp) return _IO_WUNDERFLOW (fp); } +#endif wint_t @@ -882,6 +884,7 @@ struct _IO_jump_t _IO_wfile_jumps = INTVARDEF(_IO_wfile_jumps) +#ifdef HAVE_MMAP struct _IO_jump_t _IO_wfile_jumps_mmap = { JUMP_INIT_DUMMY, @@ -929,3 +932,4 @@ struct _IO_jump_t _IO_wfile_jumps_maybe_mmap = JUMP_INIT(showmanyc, _IO_default_showmanyc), JUMP_INIT(imbue, _IO_default_imbue) }; +#endif