diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-10-16 15:30:26 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-10-16 15:30:26 +0000 |
commit | e25d69e4735a46d410677a76d4cd5afe7736f324 (patch) | |
tree | 75ddb85fa604b6bb3a46198f987764bedf5ddda8 /libio/filedoalloc.c | |
parent | 4469d24b2b67785ef6fc7fe590f49d52a8df2e18 (diff) | |
download | gcc-e25d69e4735a46d410677a76d4cd5afe7736f324.tar.gz |
* configure.in: Create compatibility code in bits/libc-lock.h file.
* libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is
not defined.
* filedoalloc.c (_IO_file_doallocate): Don't call
_IO_cleanup_registration_needed if __linux__ is defined.
* iofclose.c (fclose): Make it weak alias of _IO_fclose if
__ELF__ is defined.
* iovsprintf.c (vsprintf): Make it weak alias of _IO_vsprintf
if __ELF__ is defined.
* iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if
__ELF__ is defined.
* config/linuxlibc1.mt (MT_CFLAGS): Defined as -D_G_HAVE_MMAP.
(IO_OBJECTS): Add filedoalloc.o fileops.o genops.o iofclose.o
iovsprintf.o iovsscanf.o strops.o.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@15931 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio/filedoalloc.c')
-rw-r--r-- | libio/filedoalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libio/filedoalloc.c b/libio/filedoalloc.c index f1b781e8a0f..5c62280c14b 100644 --- a/libio/filedoalloc.c +++ b/libio/filedoalloc.c @@ -75,7 +75,7 @@ _IO_file_doallocate (fp) char *p; struct stat st; -#ifndef _LIBC +#if !defined(_LIBC) && !defined(__linux__) /* If _IO_cleanup_registration_needed is non-zero, we should call the function it points to. This is to make sure _IO_cleanup gets called on exit. We call it from _IO_file_doallocate, since that is likely |