1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* configure.in: set rb_cv_need_io_flush_between_seek=yes.

* win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK.
  (pointed out by moriq [ruby-dev:19299])


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2003-01-04 05:33:29 +00:00
parent 2ce6988e55
commit c471e19f22
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
Sat Jan 4 14:29:52 2003 NAKAMURA Usaku <usa@ruby-lang.org>
* configure.in: set rb_cv_need_io_flush_between_seek=yes.
* win32/Makefile.sub (config.h): define NEED_IO_FLUSH_BETWEE_SEEK.
(pointed out by moriq [ruby-dev:19299])
Sat Jan 4 01:33:40 2003 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* file.c (rb_file_s_lchmod): get rid of gcc-3 -O3 warning.

View file

@ -272,7 +272,7 @@ cygwin*) rb_cv_have_daylight=no
ac_cv_func_setitimer=no
;;
mingw*) LIBS="-lwsock32 $LIBS"
rb_cv_need_io_flush_between_rw=no
rb_cv_need_io_flush_between_rw=yes
rb_cv_need_io_flush_before_seek=no
ac_cv_header_a_out_h=no
ac_cv_header_pwd_h=no

View file

@ -260,6 +260,7 @@ config.h: Makefile $(srcdir)/win32/Makefile.sub
#define HAVE_DAYLIGHT 1
#define SETPGRP_VOID 1
#define inline __inline
#define NEED_IO_FLUSH_BETWEEN_RW 1
#define RSHIFT(x,y) ((x)>>(int)y)
#define FILE_COUNT _cnt
#define FILE_READPTR _ptr