mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-19 03:28:58 +08:00
1181d2d553
* libio.h (_IO_LOCK_T): Handle glibc 2 when _IO_MTSAFE_IO is not defined. * iovsscanf.c (vsscanf): Make it weak alias of _IO_vsscanf if __linux__ is defined instead of __ELF__ * config/linuxlibc1.mt (USER_INCLUDES): Add libio.h. OK'd by Ulrich. From-SVN: r16151
27 lines
926 B
Mathematica
27 lines
926 B
Mathematica
# Use the libio which comes with the local libc.
|
|
|
|
# Comment this out to avoid including the stdio functions in libiostream.a:
|
|
# LIBIOSTREAM_OBJECTS = $(IO_OBJECTS) $(IOSTREAM_OBJECTS) $(STDIO_WRAP_OBJECTS) $(OSPRIM_OBJECTS)
|
|
# LIBIOSTREAM_DEP = $(LIBIOSTREAM_OBJECTS) stdio.list
|
|
# LIBIOSTREAM_USE = $(LIBIOSTREAM_OBJECTS) `cat stdio.list`
|
|
|
|
# We must not see the libio.h file from this library.
|
|
LIBIO_INCLUDE=
|
|
|
|
# We have those in libc.a.
|
|
IO_OBJECTS=iogetc.o ioputc.o iofeof.o ioferror.o \
|
|
filedoalloc.o fileops.o genops.o iofclose.o \
|
|
iovsprintf.o iovsscanf.o strops.o
|
|
STDIO_WRAP_OBJECTS=
|
|
OSPRIM_OBJECTS=
|
|
STDIO_OBJECTS=
|
|
|
|
# We have the rest in /usr/include.
|
|
USER_INCLUDES=PlotFile.h SFile.h builtinbuf.h editbuf.h fstream.h \
|
|
indstream.h iomanip.h iostream.h istream.h ostream.h \
|
|
parsestream.h pfstream.h procbuf.h stdiostream.h stream.h \
|
|
streambuf.h strfile.h strstream.h libio.h
|
|
|
|
# A bad kludge
|
|
MT_CFLAGS=-D_G_HAVE_MMAP
|