mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Silence stat redefinition warnings under win32
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b8b5f5d437
commit
ef9bbba96f
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Dec 9 08:00:15 2011 Luis Lavena <luislavena@gmail.com>
|
||||||
|
|
||||||
|
* include/ruby/win32.h: undef stat to silence mingw-w64 stat
|
||||||
|
redefinition warnings (GCC 4.6.3).
|
||||||
|
|
||||||
Thu Dec 8 23:38:24 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
Thu Dec 8 23:38:24 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||||
|
|
||||||
* variable.c (set_const_visibility): clear inine-cache when constant's
|
* variable.c (set_const_visibility): clear inine-cache when constant's
|
||||||
|
|
|
@ -126,6 +126,7 @@ extern DWORD rb_w32_osid(void);
|
||||||
#undef fputchar
|
#undef fputchar
|
||||||
#undef utime
|
#undef utime
|
||||||
#undef lseek
|
#undef lseek
|
||||||
|
#undef stat
|
||||||
#undef fstat
|
#undef fstat
|
||||||
#define getc(_stream) rb_w32_getc(_stream)
|
#define getc(_stream) rb_w32_getc(_stream)
|
||||||
#define getchar() rb_w32_getc(stdin)
|
#define getchar() rb_w32_getc(stdin)
|
||||||
|
|
Loading…
Reference in a new issue