file.c: _wfreopen_s on mingw
* win32/file.c: some mingw compilers need a tweek for the declarations of _wfreopen_s. [Bug #11320] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0ec0c7dc4
commit
3e5988b29d
@ -1,3 +1,8 @@
|
|||||||
|
Fri Jul 3 14:30:18 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* win32/file.c: some mingw compilers need a tweek for the
|
||||||
|
declarations of _wfreopen_s. [Bug #11320]
|
||||||
|
|
||||||
Fri Jul 3 12:25:19 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Fri Jul 3 12:25:19 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* transcode.c (rb_econv_set_replacement): target encoding name can
|
* transcode.c (rb_econv_set_replacement): target encoding name can
|
||||||
|
@ -1,3 +1,7 @@
|
|||||||
|
#if defined(__MINGW32__)
|
||||||
|
/* before stdio.h in ruby/define.h */
|
||||||
|
# define MINGW_HAS_SECURE_API 1
|
||||||
|
#endif
|
||||||
#include "ruby/ruby.h"
|
#include "ruby/ruby.h"
|
||||||
#include "ruby/encoding.h"
|
#include "ruby/encoding.h"
|
||||||
#include "ruby/thread.h"
|
#include "ruby/thread.h"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user