mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Clean up fopen64 for O_LARGEFILE==0.
This commit is contained in:
@ -25,8 +25,12 @@
|
||||
in files containing the exception. */
|
||||
|
||||
#include "libioP.h"
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* iofopen.c defines _IO_fopen64/fopen64 as aliases if O_LARGEFILE==0. */
|
||||
#if !defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)
|
||||
|
||||
_IO_FILE *
|
||||
_IO_fopen64 (filename, mode)
|
||||
const char *filename;
|
||||
@ -43,3 +47,5 @@ _IO_fopen64 (filename, mode)
|
||||
#ifdef weak_alias
|
||||
weak_alias (_IO_fopen64, fopen64)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user