stdio: fseeko/ftello are also POSIX.1-2001
_LARGEFILE_SOURCE, which controls only these two functions, is implicitly defined by _XOPEN_SOURCE >= 500. However, they are also later added to POSIX.1-2001 (and therefore available by default). Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
@ -230,7 +230,7 @@ int _EXFUN(rename, (const char *, const char *));
|
|||||||
int _EXFUN(_rename, (const char *, const char *));
|
int _EXFUN(_rename, (const char *, const char *));
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
#if __LARGEFILE_VISIBLE
|
#if __LARGEFILE_VISIBLE || __POSIX_VISIBLE >= 200112
|
||||||
#ifdef _COMPILING_NEWLIB
|
#ifdef _COMPILING_NEWLIB
|
||||||
int _EXFUN(fseeko, (FILE *, _off_t, int));
|
int _EXFUN(fseeko, (FILE *, _off_t, int));
|
||||||
_off_t _EXFUN(ftello, ( FILE *));
|
_off_t _EXFUN(ftello, ( FILE *));
|
||||||
|
Reference in New Issue
Block a user