ruby-changes:21826
From: usa <ko1@a...>
Date: Mon, 28 Nov 2011 10:24:46 +0900 (JST)
Subject: [ruby-changes:21826] usa:r33875 (trunk): * win32/{Makeilfe.sub,win32.c} (FILE_COUNT, FILE_READPTR): move the
usa 2011-11-28 10:23:49 +0900 (Mon, 28 Nov 2011) New Revision: 33875 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=33875 Log: * 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] Modified files: trunk/ChangeLog trunk/win32/Makefile.sub trunk/win32/win32.c Index: ChangeLog =================================================================== --- ChangeLog (revision 33874) +++ ChangeLog (revision 33875) @@ -1,3 +1,10 @@ +Mon Nov 28 10:20:58 2011 NAKAMURA Usaku <usa@r...> + + * 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@r...> * win32/win32.c (rb_w32_uchmod): typo. [Bug#5671] [ruby-dev:44898] Index: win32/win32.c =================================================================== --- win32/win32.c (revision 33874) +++ win32/win32.c (revision 33875) @@ -4886,6 +4886,10 @@ } #endif + +#define FILE_COUNT _cnt +#define FILE_READPTR _ptr + #undef fgetc /* License: Ruby's */ int Index: win32/Makefile.sub =================================================================== --- win32/Makefile.sub (revision 33874) +++ win32/Makefile.sub (revision 33875) @@ -637,8 +637,6 @@ #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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/