summaryrefslogtreecommitdiff
path: root/include/ruby/win32.h
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-12 08:41:12 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-12 08:41:12 +0000
commite79f7907987d9dc2445892b7b571a621208d29bf (patch)
tree95ff413eade0dc711ee9fc3ff585c284635420e4 /include/ruby/win32.h
parent2d0c7e37bf51191f20f06362763f3e8661641217 (diff)
* 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
Diffstat (limited to 'include/ruby/win32.h')
-rw-r--r--include/ruby/win32.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/ruby/win32.h b/include/ruby/win32.h
index fe8613f..8a1bf6f 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
*/