From e06359547c22c63737f1073424d07529f33b5abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 7 Feb 2009 20:05:39 +0000 Subject: [PATCH] activated wfileops.c instead of wfilestubs.c, commented out mmap stuff (as in fileops.c) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29153 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/posix/glibc/libio/Jamfile | 6 +++--- src/system/libroot/posix/glibc/libio/wfileops.c | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) 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