mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 10:50:07 +00:00
Remove definition of off_t.
This commit is contained in:
parent
64ed453308
commit
26169cba35
@ -479,22 +479,6 @@ extern void rewind (FILE *__stream) __THROW;
|
||||
file offset. `long int' is not the right type. These definitions
|
||||
are originally defined in the Large File Support API. */
|
||||
|
||||
/* Types needed in these functions. */
|
||||
#ifndef __off_t_defined
|
||||
# ifndef __USE_FILE_OFFSET64
|
||||
typedef __off_t off_t;
|
||||
# else
|
||||
typedef __off64_t off_t;
|
||||
# endif
|
||||
# define __off_t_defined
|
||||
#endif
|
||||
|
||||
#if defined __USE_LARGEFILE64 && !defined __off64_t_defined
|
||||
typedef __off64_t off64_t;
|
||||
# define __off64_t_defined
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef __USE_FILE_OFFSET64
|
||||
# ifdef __USE_LARGEFILE
|
||||
/* Seek to a certain position on STREAM. */
|
||||
|
Loading…
Reference in New Issue
Block a user