From 58696e283b323aa14d58b780ac4c1329f1e55ecf Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Fri, 14 Apr 2017 19:25:48 +0200 Subject: [PATCH] : ftello() and fseeko() were in SUSv2, so extend visibility. See: http://pubs.opengroup.org/onlinepubs/007908799/xsh/fseek.html http://pubs.opengroup.org/onlinepubs/007908799/xsh/ftell.html --- include/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdio.h b/include/stdio.h index df2e3af728..9137a0a3b6 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -284,7 +284,7 @@ int ferror_unlocked(FILE *); int fileno_unlocked(FILE *); #endif -#if __POSIX_VISIBLE >= 200112 +#if __XSI_VISIBLE >= 500 || __POSIX_VISIBLE >= 200112 int fseeko(FILE *, __off_t, int); __off_t ftello(FILE *); #endif -- 2.11.4.GIT