From e79f7907987d9dc2445892b7b571a621208d29bf Mon Sep 17 00:00:00 2001 From: kosaki Date: Sun, 12 May 2013 08:41:12 +0000 Subject: * configure.in: removes AC_CHECK_FUNC(fseeko, fseeko64, ftello, ftello64). They are not used from anywhere. * win32/win32.c (fseeko): removes. * win32/win32.c (rb_w32_ftello): removes. * include/ruby/win32.h: removes declarations of rb_w32_ftello and rb_w32_fseeko. * win32/Makefile.sub: removes '#define HAVE_FTELLO 1'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- include/ruby/win32.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'include/ruby/win32.h') diff --git a/include/ruby/win32.h b/include/ruby/win32.h index fe8613f299..8a1bf6fb8a 100644 --- a/include/ruby/win32.h +++ b/include/ruby/win32.h @@ -385,8 +385,6 @@ scalb(double a, long b) extern int rb_w32_ftruncate(int fd, off_t length); extern int rb_w32_truncate(const char *path, off_t length); -extern off_t rb_w32_ftello(FILE *stream); -extern int rb_w32_fseeko(FILE *stream, off_t offset, int whence); #undef HAVE_FTRUNCATE #define HAVE_FTRUNCATE 1 @@ -404,22 +402,6 @@ extern int rb_w32_fseeko(FILE *stream, off_t offset, int whence); #define truncate rb_w32_truncate #endif -#undef HAVE_FSEEKO -#define HAVE_FSEEKO 1 -#if defined HAVE_FSEEKO64 -#define fseeko fseeko64 -#else -#define fseeko rb_w32_fseeko -#endif - -#undef HAVE_FTELLO -#define HAVE_FTELLO 1 -#if defined HAVE_FTELLO64 -#define ftello ftello64 -#else -#define ftello rb_w32_ftello -#endif - /* * stubs */ -- cgit v1.2.3