mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move the
definitions from config.h to win32.c. I dared to have left such macros, for other future compiler support. [ruby-core:41313] [Bug #5674] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4ccc50f436
commit
61b3acd568
3 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
Mon Nov 28 10:20:58 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move the
|
||||
definitions from config.h to win32.c. I dared to have left such
|
||||
macros, for other future compiler support.
|
||||
[ruby-core:41313] [Bug #5674]
|
||||
|
||||
Mon Nov 28 09:28:30 2011 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* win32/win32.c (rb_w32_uchmod): typo. [Bug#5671] [ruby-dev:44898]
|
||||
|
|
|
@ -637,8 +637,6 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub
|
|||
#define HAVE_DAYLIGHT 1
|
||||
#define SETPGRP_VOID 1
|
||||
#define RSHIFT(x,y) ((x)>>(int)y)
|
||||
#define FILE_COUNT _cnt
|
||||
#define FILE_READPTR _ptr
|
||||
#define HAVE_RB_FD_INIT 1
|
||||
#define RUBY_SETJMP(env) _setjmp(env)
|
||||
#define RUBY_LONGJMP(env,val) longjmp(env,val)
|
||||
|
|
|
@ -4886,6 +4886,10 @@ read(int fd, void *buf, size_t size)
|
|||
}
|
||||
#endif
|
||||
|
||||
|
||||
#define FILE_COUNT _cnt
|
||||
#define FILE_READPTR _ptr
|
||||
|
||||
#undef fgetc
|
||||
/* License: Ruby's */
|
||||
int
|
||||
|
|
Loading…
Add table
Reference in a new issue