mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
* sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define
if already defined. [USE_IN_LIBIO]: Conditionalize versioned_symbol use on [GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it.
This commit is contained in:
parent
337738b771
commit
650f6700d2
@ -1,3 +1,10 @@
|
|||||||
|
2002-06-12 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
|
* sysdeps/generic/tmpfile.c [USE_IN_LIBIO] (tmpfile): Don't #define
|
||||||
|
if already defined.
|
||||||
|
[USE_IN_LIBIO]: Conditionalize versioned_symbol use on
|
||||||
|
[GEN_THIS == __GT_FILE] so that tmpfile64.c's inclusion doesn't get it.
|
||||||
|
|
||||||
2002-06-11 Roland McGrath <roland@frob.com>
|
2002-06-11 Roland McGrath <roland@frob.com>
|
||||||
|
|
||||||
* sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the
|
* sysdeps/mach/hurd/xstat64.c: Conditionalize entire contents of the
|
||||||
|
@ -23,7 +23,9 @@
|
|||||||
#ifdef USE_IN_LIBIO
|
#ifdef USE_IN_LIBIO
|
||||||
# include <iolibio.h>
|
# include <iolibio.h>
|
||||||
# define __fdopen INTUSE(_IO_fdopen)
|
# define __fdopen INTUSE(_IO_fdopen)
|
||||||
# define tmpfile __new_tmpfile
|
# ifndef tmpfile
|
||||||
|
# define tmpfile __new_tmpfile
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef GEN_THIS
|
#ifndef GEN_THIS
|
||||||
@ -57,7 +59,7 @@ tmpfile (void)
|
|||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_IN_LIBIO
|
#if defined USE_IN_LIBIO && GEN_THIS == __GT_FILE /* Not for tmpfile64. */
|
||||||
# undef tmpfile
|
# undef tmpfile
|
||||||
# include <shlib-compat.h>
|
# include <shlib-compat.h>
|
||||||
versioned_symbol (libc, __new_tmpfile, tmpfile, GLIBC_2_1);
|
versioned_symbol (libc, __new_tmpfile, tmpfile, GLIBC_2_1);
|
||||||
|
Loading…
Reference in New Issue
Block a user