зеркало из https://github.com/github/ruby.git
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:
Родитель
b8b5f5d437
Коммит
ef9bbba96f
|
@ -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>
|
||||
|
||||
* variable.c (set_const_visibility): clear inine-cache when constant's
|
||||
|
|
|
@ -126,6 +126,7 @@ extern DWORD rb_w32_osid(void);
|
|||
#undef fputchar
|
||||
#undef utime
|
||||
#undef lseek
|
||||
#undef stat
|
||||
#undef fstat
|
||||
#define getc(_stream) rb_w32_getc(_stream)
|
||||
#define getchar() rb_w32_getc(stdin)
|
||||
|
|
Загрузка…
Ссылка в новой задаче